question

Abhay Bajpai avatar image
0 Likes"
Abhay Bajpai asked Joerg Vogel answered

Reference row number incrementally as tokens arrive at source

I want my first token to return "1" for the row number, 2nd token to return "2" for the row number and so on. I want to do this to assign values like "ModelName" and other values from the Global Table shown next to the property window. I tried "tokenIndex" but it does not work for 'Assign Label' but only works if i use 'Scheduled Source'.


Champion Homes V1_1_autosave.fsm1685994628603.png

FlexSim 23.1.2
labeltokens
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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

If you have an activity, which lets exit or entry only once each involved token, you can apply the input or output statistical value as an index to those tokens.
Alternatively you can increment a process flow label, a parameter, a global variable, an own number tree node, a global table cell or any other easily readable node bound structure and apply this value to a token label as an index.

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.