I am not sure to understand when the Event-Triggered Source create tokens while the event is "OnStateChange".
It seems that a token is created when the model is reset or stopped. Is it supposed to work in this way?
If I want to create a token when the state (processing, idle, etc.) of the object change, should I use the "OnStateValueChange" event?. But with this event, I have 2 limitations:
- The event data (State profile No, To State, etc.) are not available anymore
- only the default state profile seems to trigger the source
Attached a model to illustrate it.
Thanks for your help.