create a label in a task sequence with the process flow

create a label in a task sequence with the process flow

amerloQ2XZU
Not applicable
21 Views
2 Replies
Message 1 of 3

create a label in a task sequence with the process flow

amerloQ2XZU
Not applicable

[ FlexSim 17.0.0 ]

Hi,

I would like to create a label in a task with the activities of the process flow, but I encountered some problems. I attached a model with my case: I create a task and save in a label "taskSequence" the reference, then with the activity "assign label" I want to add a label in the task sequence but the activity doesn't do that but create a subnode of the task. After some iterations FlexSim crashes.

Is there some error in my model? If I substitute the "assign label" activity with a custom code "set label" everything works.

0 Likes
Accepted solutions (1)
22 Views
2 Replies
Replies (2)
Message 2 of 3

joerg_vogel_HsH
Mentor
Mentor

If you depend on to get a storing node into a tasksequence you can use the TASKTYPE_TAG.

0 Likes
Message 3 of 3

matt_long
Not applicable
Accepted solution

This appears to be a bug. If you add a Custom Code activity and type the following code into a Code Snippet it works:

token.taskSequence.myLabel = current;

We'll get this added to the bug list.