Hi,
I've set slot labels on a bay using my model's "On Model Reset" event like so:
Storage.Object rack = Model.find("Rack25"); Storage.Bay bay = rack.bays[1]; bay.setSlotLabels("Material", "MT55");
I've been able to verify it applied the labels by printing the label value of the slots in the bay to the output console.
But, I have a FindSlot process in a process flow which uses the following query:
WHERE slot.hasSpace($1.item) AND Material == $1.Material
It fails to find the slots that have the label. If I remove the where clause, it will find the slots and unload flow items to it. Any ideas?
Thanks!