Hi guys,
I'm having a bit of trouble getting the state of a task in the task sequence when it is finished by the task executor. I have attached the model in this question for clarification.
What I would like to do is that, when the Crane1 starts picking up the box from queue1, the code returns the state of the task as 1 (unfinished) and when the crane has picked all 3 boxes, it will return the state as finished. I can only get the state when it starts picking up the box, can't seem to extract the state of the task when the crane has done the task.
Could anyone help me with this? Many thanks in advance.
Regards,
Hoang