In this simple model an operator is performing a case picking operation from a pallet on the conveyor. The number of cases that can be picked varies between 1-10. Currently all the cases on the pallet are picked because of this conditional decide activity that checks for the list output.
If I change the condition to
getstat(getactivity(processFlow, "List"), "Output", STAT_CURRENT, current) == 5
only one case is picked and the model stops.
I have also tries using the Queue content as a condition to decide if there are any more items to pick, but I think I am not implementing it correctly.
What is the correct condition to achieve the said behavior ? I know I am very close on this one!