question

Alessio Merlo avatar image
0 Likes"
Alessio Merlo asked Matt Long answered

create a label in a task sequence with the process flow

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.

FlexSim 17.0.0
process flowlabel assignmenttask sequences
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matt Long avatar image
2 Likes"
Matt Long answered

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.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

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

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.