How generate a token when change of step?

How generate a token when change of step?

roberto_s6
Not applicable
57 Views
1 Reply
Message 1 of 2

How generate a token when change of step?

roberto_s6
Not applicable

[ FlexSim 19.1.0 ]

25329-change-pf.png

2.fsmI am using a FluidMixer and I need to generate a token when changing the step, this to be able to identify what type of material the FluidMiexer is receiving and thus make a motion decision.

I hope you can support me.

Regards

0 Likes
Accepted solutions (1)
58 Views
1 Reply
Reply (1)
Message 2 of 2

tanner_p
Not applicable
Accepted solution

Hi @Roberto S6,

In this updated model, I have a line of script that creates a new token using the After Step Delay Trigger. It should work for what you need, but I'm not a fluids expert, so let me know if something goes wrong.

25337-after-step-trigger.png

In the example, the trigger is fired after each step and the token is created at a "Start" activity, which can then be used to run a sub-flow. You can pass in other variables by modifying and adding to the script. Hopefully this helps answer your question.

create-token-on-message.fsm

0 Likes