The difference comes from introducing a property of TaskExecuter class. gettasksequencequeue is still an old command of the pre-dot era. Dispatcher.taskSequences is an actual class property. It is time to change from commands to class methods and properties whenever it is possible. Otherwise we will never have an progress towards classes, if the picklist options don’t show the whole new syntax.
Probably you can use,
content(gettasksequencequeue(current)) == 0
but “content” is already deprecated, so will be “gettasksequencequeue” in one of coming versions.
The source code header is wrong declared for the variable current. It is declared as Object, but it must be Dispatcher. Dispatcher inherits Object Class, but not other way around.
@phil.bobo, maybe you can put it onto the dev list to check the headers or to cast directly from Object to Dispatcher if properties or methods of TaskExecuter Class are involved. Many Thanks!
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved