question

Donia M avatar image
0 Likes"
Donia M asked Donia M commented

An invalid task has been encountered

Hello,


I have this problem on this example (in attached file)Test5.fsm.

Could you help me?

Thank you in advance.

Best regards

FlexSim 21.2.3
task errorinvalidtask
test5.fsm (49.9 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Connor A avatar image
0 Likes"
Connor A answered Donia M commented

Hello @Donia M, I was able to get the initial error with the model that you were having fixed. I went through and changed the connections for the join activity so that the Box event token was the first connection. This allows the box token to continue through the Task Sequence and keeps the wait for event to make sure that the AGV arrives at the control point. I also had to use the AGV in the model(TaskExecuter1),as the station in the unload activity. This reason that the error was happening is because the join activity only lets the first connections token to proceed and destroy all other tokens. I will attach below the model that I have edited, and a link to the FlexSim docs for the Join Activity. Please let me know if this helps.

test5.fsm

https://docs.flexsim.com/en/21.2/Reference/ProcessFlowObjects/Coordination/Join/


test5.fsm (48.6 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Donia M avatar image Donia M commented ·

Thak you a lot @Connor A for your help


Best regards

0 Likes 0 ·