Hi!
I'm working on a model where I use a decide activity in the process flow to determine if the processor is empty or not. If empty, a task executer unloads the items processor, if occupied, items are moved to a storage before being transported to the processor. In the decision activity I'm using the following condition:
token.processor.subnodes.length == 0
And I get an error saying label processor doesn't exist on token id: 240 at MODEL:/Tools/ProcessFlow/ProcessFlow/Decide>variables/decision
I am aware that I have tp acquire a resource before using it in such a way, and I want to know Is there another way I can have use such logic? Or is it ok to acquire the processor before the decision activity even if it's already busy?