In the attached model I use the Global table "Picking_list" in order to pick some items according to customer orders. I 'm trying make a decision which should check whether the next row in the global table's column 2 has the same content with the current. If yes the the order is the same and use the same pallet to pick the items. If no, a new pick starts. I can't white the decision condition to do that.
For example in a formal programming language, with a table Picking_list I should write :
i=1
While (Picking_list[i,2]==Picking_list[i+1,2])
{
Go to Pull from list
i++
}
Go to Finish
How can I build this logic in Flexsim?
Any ideas ?