question

AKKACHE A avatar image
0 Likes"
AKKACHE A asked Clair A edited

Token existence

Hello,

I would like to use a conditional decision activity that will test the token existence in another activity.

In my example, the decide activity will test the token exsitance in task loading, if the token arrived in loading, it menas port 1 true, otherwise it's false.

Thanks!

FlexSim 18.2.0
process flowtoken
test.fsm (37.1 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

Clair A avatar image
0 Likes"
Clair A answered Clair A edited

Hello @AKKACHE A, please find your modified model in attachment 13763-test.fsm.

I used the sampler in the condition field to click on your loading activity, and replaced "Output" by "Content" in the expression to get the current content of this activity:

Hope this helps.


13763-test.fsm (37.0 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.