Add label to token with Process Flow instance information

Add label to token with Process Flow instance information

gesa_r
Not applicable
330 Views
1 Reply
Message 1 of 2

Add label to token with Process Flow instance information

gesa_r
Not applicable

[ FlexSim 18.0.5 ]

Hi,

when I have different instances of a process flow e.g. 3 queues, how can I write a label to a token with the information about the running instance.

I know each token is independant but I need to know because some times I want to shut down a specific instance.

Thank you for helping.

0 Likes
Accepted solutions (1)
331 Views
1 Reply
Reply (1)
Message 2 of 2

joshua_s
Not applicable
Accepted solution

Using the reference word "current" points to that instance object. Wherever you are assigning that label, use current.desired_information_here for the value. For example, if you want to shut down queue 2, then you can use the value current.as(Object).name, then have something that looks for the name of queue 2 and then acts upon that information.