- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I saw on this discussion board post that it is possible to use FlexScript to add and remove attached objects from an object process flow: https://forums.autodesk.com/t5/flexsim-forum/is-there-a-way-to-attach-an-object-as-a-process-flow-in...
There seems to an issue with removing objects from a process flow using FlexScript as described in the discussion post. In the attached model, I use a User Event that runs on reset to remove from or attach objects to a process flow based on a parameter value, StaffingLevel. If I remove objects from the process flow by changing the staffing level parameter from a higher to a lower value (for example, from 100% to 50% or 50% to 25%), I get the following error in the System Console when I run the model:
time: 0.000000 exception: Exception caught in Executive::processeventinlist().
I want to be able to add and remove objects from the process flow on reset. How can I accomplish this without running into this error?
Solved! Go to Solution.