I have a subflow that acquires multiple resources. It will only acquire resources if all are available, otherwise it will wait for resource availability to change.
When I reset my model, if there are tokens still in the Wait For Event blocks, an exception will be thrown. There doesn't seem to be any negative consequences of it, but I would like this to not happen.
A few years ago I had modified a version of the simultaneous list pulls (https://answers.flexsim.com/questions/98195/simultaneous-all-or-nothing-list-pulls.html?childToView=98234#answer-98234) using resources, and had the same problem. However, it seemed to disappear one day. Now that I am creating a different version of this, this bug is happening again.
To recreate, reset the model when there are tokens still in a Wait For Event. It should be as simple as a couple Skips and a Reset.
Any thoughts?