question

Legit avatar image
0 Likes"
Legit asked Legit commented

Numbering incoming tokens in the ProcessFlow

Is there a simple way to assign a label using "Assign Labels" or "Custom Code," where each incoming token is given a sequential number? For instance, the first token receives No. 1, the second token No. 2, and so forth.

FlexSim 23.2.1
labelassignnumbering
· 2
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Legit, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·
Legit avatar image Legit Jason Lightfoot ♦♦ commented ·
Yes your wander was helpful, thanks :)
0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot edited

You can (for example) use a global variable that you increment, or the stats of the activity from which the token is exiting.

5 |100000

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