When choosing a State from the list in a task sequence Delay Activity I receive an error in system console: "Parse Error: Numbers are not valid in this field", the number is converted into a string and it doesn't work.
When choosing a State from the list in a task sequence Delay Activity I receive an error in system console: "Parse Error: Numbers are not valid in this field", the number is converted into a string and it doesn't work.
Not sure how this bug made it into the 2017 release, but it was fixed some time ago. It'll be available in the next bug fix release.
In the meantime, there are two work-arounds. You can go into the code editor and return the state number:
/**Custom Code*/ Object current = param(1); treenode activity = param(2); Token token = param(3); Object executer = param(4); //Or Task Sequence treenode processFlow = ownerobject(activity); return 3; //Busy State
Or you can go into the tree and find the activity and change the variable var2 to the state number.
Seems to be fine to me:
Can you elaborate with replication steps to show what isn't working?
Ok, it works. My problem was that I saved modules when I was using the 17.0.0 then I installed the 17.0.1 but the .fsx of the Process Flow was still there. Therefore the old module was loaded.
Thanks.
13 People are following this question.
Error When Deleting Process Flow Connector
Process flow bug for Event-Triggered Source with group object
Decide activity by percentage bug?
Process flow does not recognize labels created with assign label when using string in global macros
AGV Travel with EndSpeed > 0 finishes before the destination is reached
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