Im working on a model where i want to process different items, im doing so in process flow, but i dont know how to put in a conditional decide if there are objects on a floor storage to follow one processs or if there are no products to follow a different process.
I was trying to do it with a wait for event activity but if i use it the token will be stuck in there, and if i dont put that wait for event then the token label i need will not exist, so i just want to put in the conditional decide if there are objects in the specific floor storage.
I was trying to put in the condition this line of code but it only works if i have the wait for event put in there.
objectexists(token.RBC) && token.RBC.up == Model.find("RBC")
How can i solve this problem?