Hi,
I have added a task executor object in my model with the name Level1Shuttle. In process flow, I am trying to make a conditional decide based on task executor availability (the task executor is empty and idle). I have created a resource in process flow and sampled the task executor in it.
In my decide block, I chose conditional decide and sampled the above resource. It gets me the following:
getstat(getactivity(processFlow, "Resource: Level1Shuttle"), "Output", STAT_CURRENT, current)
What is the meaning of above sentence and what values does it return for respective states of the task executor?
In case I want to check for the task executor availability, how do I use the above sentence in conditional decide block?
Additionally, is there a better way to check for availability (idle and empty) of a task executor in flexsim process flow so that tokens could be directed accordingly?
I would appreciate it if someone can help me with the above issue. Thanks in advance!