question

Peter avatar image
0 Likes"
Peter asked Jason Lightfoot commented

An invalid task has been encountered

I am new to FlexSim.

In the flow if my model the following error occurs when loading the flow item. 1684915941348.png

What is the issue?

Also, is there a reliable strategy for debugging? I tried profiletasksequence(gettasksequence(model().find("ASRSvehicle1"),0)) in the Script console but it does not return anything. I attached the relevant except of the model: TrolleyBuffer0.1_261ask.fsm

Thank you in advance


FlexSim 23.1.2
loadtaskexecutordebuggingtasksequences
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

Just follow through the Load Food wagon parameters.

The missing thing in your error message is involved 1 which is the item.

In the Load Food wagon, the item to load is referring to token.vogn which is pointing to a token, not a 3D object. This is caused by the token being pushed here and not the wagon:

1684934832871.png

You can refer to the TaskType Quick Reference to see the meaning of the task parameters like involved1 and involved2 in each case/


1684934832871.png (31.6 KiB)
· 2
5 |100000

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

Peter avatar image Peter commented ·

Okay I understand, thank you for the answer.

Do you have recommendations what else I should change? I want to track the 3D objects (vogn) that are in storage by a list. Is it possible to pull the token from a list and refer to the 3D object?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Peter commented ·
You may not need the lists since the Storage System manages all of that for you when you use Rack and its derived objects, so then you can use FindSlot, FindItem activities.
0 Likes 0 ·