How to resume an item stopped at a decision point using the process flow?
Version: FlexSim 21.1.1
Hello, I currently am working on a model that stops a box when it reaches the decision point on the conveyor and then waits until the box's label is updated to allow it to continue. I am trying to do this using a custom code block in the process flow using this line of code:
Model.find("DP2").as(Object).resume(); (where "DP2") is the decision point at which the box is stopped.
For some reason this line is not doing anything (I've double checked the the line is indeed being run through debugging).
I have also tried using the resume function directly on the stopped item by writing labelTote.resume(); but that also didn't do anything (labelTote represents the actual 3D item).
Is this the correct way to resume the item or is there another way to do this? Any help would be greatly appreciated.
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.