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.
Thanks!