question

Ming-Yu Y avatar image
0 Likes"
Ming-Yu Y asked Joerg Vogel answered

Wait for event keep the token released in HC

How to keep the token released after the wait for event triggers the condition in HC

FlexSim 21.0.0
wait for eventtokenshc
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
A ‘wait for event’ releases all tokens, if an event happens. If you want to release only one token, then there must be a matching between a label of stored token and your involved event or of an involved value. If your tokens stay in your activity you may have set an exit connection, that does not exists. If all of my assumptions don’t fit to your problem, I suggest you describe a bit more of your situation and maybe you can attach some pictures and a model to your question. Thanks.
· 1
5 |100000

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

Ming-Yu Y avatar image Ming-Yu Y commented ·

After your explanation, I revised my logic.

Change the position of wait for event to make his logic more reasonable and also solve my problem.

Thank you so much.

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.