question

shanice.c avatar image
0 Likes"
shanice.c asked Felix Möhlmann answered

Create token as a timer

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

FlexSim 22.1.0
create tokens
1655176317363.png (23.7 KiB)
process.fsm (32.5 KiB)
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

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

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


1655187990219.png (9.9 KiB)
1655188152229.png (19.8 KiB)
5 |100000

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

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.