question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Ankur A3 commented

Copy Label Value To Other Flow Without Using List?

Hi Team,

I am having one token flowing at a time in Flow 1. At the end, I am generating token in Flow 2 based on event trigger. How can I retain label value in Flow 2 without using list.

Can I define some more parameters on event trigger to get label value?


Thank you!1656599041544.png

30.06.2022_Assign_Same_Label_Without_List.fsm


FlexSim 21.0.10
process flowcopy labels
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 Ankur A3 commented

30062022-assign-same-label-without-list-JV.fsm

value in another assign label activity: token.Item.Item

In event driven source activity you get a reference to your token of the other process in label token.Item then you must read the label from this stored token reference.


· 3
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 ·

In addition, I'd probably recommend renaming the labels for clarity.

  • otherToken - the token exiting the delay that triggers the source (was 'Item')
  • material - your example 'Glass' - (was also 'Item').

"item" tends to be used in FlexSim as a pointer reference to a flowitem.

0 Likes 0 ·
Ankur A3 avatar image Ankur A3 commented ·
Thank you! @Joerg Vogel
0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Ankur A3 commented ·
Thank you! @Jason Lightfoot

Your suggestion makes sense.

0 Likes 0 ·