Label Value Not Retrieved From List?

Label Value Not Retrieved From List?

rajankur6494
Collaborator Collaborator
103 Views
3 Replies
Message 1 of 4

Label Value Not Retrieved From List?

rajankur6494
Collaborator
Collaborator

[ FlexSim 21.0.10 ]

Hi Team,

I am having 2 separate flow with shared asset in list. Shared asset is only used by 1 flow at a time. To model that I am using same label names in 2 separate flows. But it is not working properly.

I am getting error while retrieving label in flow 2 when shared asset is already used by flow 1. Can you help me to know what is wrong in this approach?

Thank you!


14. LabelValueNotRetrievedFromList.fsm



0 Likes
Accepted solutions (1)
104 Views
3 Replies
Replies (3)
Message 2 of 4

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

In the same way you have the 'Breathe' delay in the Shared Asset List Creation, you also need one in each of the two flows afters the Push To List. Otherwise the pulled token might/will already be destroyed when the puller tries to read the label value.

1652440734354.png

0 Likes
Message 3 of 4

rajankur6494
Collaborator
Collaborator

Thank you @Felix Möhlmann!

Makes sense. I was missing that.

Appreciate your quick response!

0 Likes
Message 4 of 4

jason_lightfootVL7B4
Autodesk
Autodesk

You can avoid the need for any breathe activities if you push and pull the chair object as that value. The tokens are an abstraction to track the state step in a process, and when that process is over I think they should be destroyed. However it's common to see people build the models around tokens which then need be preserved and introduce these timing 'artifacts'. Avoid this when you can.

1652446086417.png

14-labelvaluenotretrievedfromlist_jl.fsm


0 Likes