question

mark zhen avatar image
0 Likes"
mark zhen asked Jeanette F commented

process flow problem

0409.fsm@Felix Möhlmann

https://answers.flexsim.com/questions/158342/using-resoure-rule-to-release-preempted-token.html

Regarding this problem, I tried to use different methods to implement another solution, but I couldn't check why the problem reports about me appeared? Can you help me solve these problem reports?

FlexSim 23.1.0
processs flowchild tokens
0409.fsm (146.3 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @mark zhen , was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

In your model the preempt tokens must first acquire a resource before they can enter the Assign Labels activity. This might cause a delay which means the "processToken" that caused their creation might not exist anymore. That token is needed for the label assignment though, so you get errors when this happens.

capture1.png

Move the Assign Labels activities in front of the Acquire.


capture1.png (12.1 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.