question

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

Label Value Not Retrieved From List?

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



FlexSim 21.0.10
listmatch labelshared asset
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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jason Lightfoot commented

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


1652440734354.png (34.9 KiB)
· 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.

Ankur A3 avatar image Ankur A3 commented ·

Thank you @Felix Möhlmann!

Makes sense. I was missing that.

Appreciate your quick response!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Ankur A3 commented ·

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

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.