Create token as a timer

Create token as a timer

shanice_c
Not applicable
130 Views
1 Reply
Message 1 of 2

Create token as a timer

shanice_c
Not applicable

[ FlexSim 22.1.0 ]

Hello, I want product to have it's logic to go through, and at the same time, there's a once it triggers an event, the timer starts. I hope after that period of time, the product color could be changed.

how could I use create token activity to do this.

1655176317363.pngprocess.fsm

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

moehlmann_fe
Advocate
Advocate
Accepted solution

I don't know what exactly your question is, since you already have a working solution.

Some tips:

- Currently you are creating a 'child' token. This token can (and does) access the parent's labels. This also means you have to make sure that the 'product' label does not get overwritten/changed. If that could a concern, it might be better to copy the label to the created token.

1655187990219.png

- Selecting the 'Create Tokens' activity will show a connection to the activity in which the token is created. If you use a 'Start' activity for this, that will also work in the opposite direction. (Selecting the start activity shows which activities connect to it)
This can be helpful to remember what purpose subflows have in a larger process flow.

1655188152229.png