TaskExecuter FlowItems Event listening

TaskExecuter FlowItems Event listening

ozawa_shinya
Advocate Advocate
14 Views
2 Replies
Message 1 of 3

TaskExecuter FlowItems Event listening

ozawa_shinya
Advocate
Advocate

[ FlexSim 22.0.16 ]

Hi,

I would like to listen events of TaskExecuter FlowItems registered in AStar Navigator using contextdragconnection command after the simulation starts.

For example, "On A Star Block" or "On A Star Rerout".

I registered the created TaskExecuter FlowItems to a group and tried to create an event trigger source for that group, but it doesn't seem to be recognized as a group member.

Is there an alternative?

Thanks in advance.

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

moehlmann_fe
Explorer
Explorer
Accepted solution

You could have a token listen to those events in a Wait for Event activity. When the event fires the token then creates a new token and can go back to listening for the event again immediately.

The listening tokens in turn could be created by a 'master-token', that releases them to a sink, when the respective FlowItem is removed from the model.

FlowItemEventListening_FM.fsm

0 Likes
Message 3 of 3

ozawa_shinya
Advocate
Advocate
Thank you for your information.
0 Likes