Issue Report :Push Task Sequence

Issue Report :Push Task Sequence

mail7WJMZ
Collaborator Collaborator
62 Views
1 Reply
Message 1 of 2

Issue Report :Push Task Sequence

mail7WJMZ
Collaborator
Collaborator

[ FlexSim 20.1.2 ]

Hello,

location:Use Transport >> Use List >> Push to Task Sequence List.

I found an issue. It did an incorrect List push, so it displayed an error.


Error Report

Flexscript Error MODEL:/Queue1>variables/transportdispatcher Line 21 Could not resolve push overload based on passed parameters

001.fsm
28291-image001.png

0 Likes
Accepted solutions (1)
63 Views
1 Reply
Reply (1)
Message 2 of 2

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

Thanks for pointing this out. We'll update that picklist for the next bug fix release so that it doesn't throw exceptions.

You fix the error in your model by adding .as(Variant) to the task sequence, so change this

List(listName).push(ts, 0);

to this

List(listName).push(ts.as(Variant), 0);

Here's your model with that fix

001_Fixed.fsm



Matthew Gillespie
FlexSim Software Developer