Hello,
How to set the condition "a list is empty" in decide activity?
(FlexSim version 19.0.0)
Regards.
Hello,
How to set the condition "a list is empty" in decide activity?
(FlexSim version 19.0.0)
Regards.
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.
@jordan.johnson, thank you for the reply.
I need to use a "Decide" activity in the process flow. Is there an expression to use for list like for the model objects (for example: Model.find("Queue").subnodes.length == 0)? If not, would you please explain the solution you recommend with figures because I didn't understand exactly how this should be.
You can check the box for "Use Max Wait Timer" and then release the token to connector 2 if the wait timer goes off (fails). I set up an example model that only has one item on the list. The first token pulls the item, then the second token fails and is sent to a different connector, similar to a Decide activity.
Hope this helps!
11 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved