question

SudheerReddy avatar image
1 Like"
SudheerReddy asked Joerg Vogel commented

Instance(Current) Label

As shown in below image, How to create Instance(Current) Label. What is Instance(Current) Label

Token Label which is accessible to all instances. Is Instance(Current) Label is accessible to all instances or only to respective instances.

FlexSim 20.0.0
process flow
instance.png (25.4 KiB)
instancelabel.png (31.7 KiB)
instancelabel.png (31.7 KiB)
5 |100000

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

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Joerg Vogel commented

Instance (Current) labels are labels that you put on the instance object (or current). So if in an Assign Labels activity you change the Assign Labels To field to say current instead of token then you'll be creating instance labels. They work basically the same as token labels except they're stored on the instance object instead of the token.

· 5
5 |100000

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

SudheerReddy avatar image SudheerReddy commented ·

@Matthew Gillespie I am not very much familiar with how to keep labels on instance object. Could you please add small sample model so it will help me to understand.

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ SudheerReddy commented ·

In this model Processor1 uses an On Entry trigger to update its RedBoxes label and Processor10 uses an instanced flow to listen to its OnEntry event and then update its RedBoxes label.

currentlabels.fsm

2 Likes 2 ·
currentlabels.fsm (32.4 KiB)
Joerg Vogel avatar image Joerg Vogel SudheerReddy commented ·

another example:

Instance label throughPut is incremented. Console Output shows this value, the instanced object, an instanced Object label, the Output of a Queue and the token.id
pf-instance-data.fsm

1 Like 1 ·
SudheerReddy avatar image SudheerReddy Joerg Vogel commented ·

@Jörg Vogel. Thanks your answer.

In the model you have shared in Process flow Instances you have chosen Instance Creation as Global. What is the difference between choosing Global, per instance, per block and per token. Could you please help me to understand the difference among them.

0 Likes 0 ·
instanceglobal.jpg (77.6 KiB)
Show more comments