Hello,
In my model I have two Queues for Material. One for new and full raw materials (Queue1) and one in which opened raw material drums are placed (Queue2).
For a dispensing activity of my operator I want a conditional decide in process flow which decides wether there is opened material in Queue2 or not. If there is the matching Material in Queue2 the operator should get it from there. If there is not, he should get it out of Queue1. It is guaranteed that the needed material is always either in Queue1 or Queue2.
The Token for my operator activity in process flow has the label "RawMaterial1" with value "silver". Because thats, what the operator should get. Inside Queue2 is the item with the label on the 3D Cylinder "RawMaterial_3D" = "silver". In the conditional decide function I am asking:
Model.find("Queue2").Cylinder1.labels["RawMaterial_3D"].value == token.RawMaterial1.value
which ist not working. I possibly do not "speak" to the item in Queue 2 properly but I couldnt find any other questions here, which solved my problem.
I would really appreciate any help! I attached the test model.
Best wishes,
Marie