question

Andre T6 avatar image
0 Likes"
Andre T6 asked Andre T6 commented

An invalid task has been encountered

Hi everyone,

I encountered a problem in my model that happen during unloading an item from queue using a task executer.
1633541903604.pngHow do i fix this?

FlexSim 19.0.0
process flowqueuecrane
1633541903604.png (4.8 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

·
Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered Andre T6 commented

@Andre T6 Your involved 2 is NULL. This should be the station you unload to. So you have to look in the code or the process flow where you create the tasksequence and check the reference to the station where you want to unload to.

If you want more assistance you should upload your model.

· 3
5 |100000

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

Andre T6 avatar image Andre T6 commented ·

Hi @Steven Hamoen
QueueModel.fsm
Here is the model

0 Likes 0 ·
queuemodel.fsm (55.2 KiB)
Felix Möhlmann avatar image Felix Möhlmann Andre T6 commented ·

The names of the cluster queues are different than what you typed in the custom code that assigns the destination to items from Queue1. The queues have a space between "Cluster" and their number. This is missing in the "find"-commands. As a result the destination isn't correctly assigned, because the objects can't be found.

1633592007388.png

0 Likes 0 ·
1633592007388.png (112.1 KiB)
Andre T6 avatar image Andre T6 Felix Möhlmann commented ·
Oh right i just notice it right now.

Thanks for telling me the error


0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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