I want to Stop and Resume token based on my need is it possible using the Custom code, I don't to use Wait for event.
Thanks in advance
I want to Stop and Resume token based on my need is it possible using the Custom code, I don't to use Wait for event.
Thanks in advance
Hope this helps!
My exact requirement is, i want to hold or Stop the token at custom code for sometime, to get my custom condition satisfied, I saw a option called Stop and Resume Token in Custom code, can it fulfill my requirement. Can i get some example model in that.
Hi @Tamilselvan,
What is the requirement (custom condition) for resuming the token? Also, it's easier to help you if we can look at your model. Please post your model or a sample model that demonstrates your question.
Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.
As i previously mentioned earlier, my token as to wait until my custom condition satisfied, then it as to resume.
You can, In your custom code put something like:
await Delay.minutes(1); // or an event or list action
but we'd probably recommend using the built in functions where the behavior is more obvious/transparent. If you have a case where none of the standard options are possible we'd be interested to know the reason.
Here's the information on using await and coroutines.
14 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