question

sara S2 avatar image
0 Likes"
sara S2 asked sara S2 commented

How to set the condition "a list is empty" in decide activity?

Hello,

How to set the condition "a list is empty" in decide activity?

(FlexSim version 19.0.0)

Regards.

Other
Other (please specify)
process flowdecide activity
· 2
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

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered tannerp commented
It would be easier to you a pull from list activity. Check the "use max wait timer" box. In the max wait timer, choose No Wait for the amount of time, and when it fires, send the token to connector 2.

What this means is that the token will do a test pull. If there are items on the list, the the pull succeeds, and the token will go out connector 1. If you don't want to remove the items from the list, just check the "leave items on list" box. If there are no items on the list, the max wait timer will fire, and send the token out connector 2.

· 14
5 |100000

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