question

David Chan avatar image
0 Likes"
David Chan asked Felix Möhlmann answered

Error in destroying child token

multiple waiting line v2_4.fsmHi

I am trying to destroy the child token created in Wait in Line by moving it to Sink. I am unable to do so and kept having an error

exception: Error: Invalid destination at activity "Wait To Reach Front" in process flow "Wait In Line"

What should I do? Thanks in advanced.


David

FlexSim 23.1.1
waiting linechild tokensdestroy
5 |100000

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

1 Answer

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

You can't move tokens between different Process Flows.

I tried destroying the tokens outright which, maybe unsurprisingly, proved to be not a good idea, as it broke the Waiting Line flow.

I guess your best bet might be to copy the inner flow of the Waiting Line activity to the Patient Flow and use it as a 'normal' sub flow.

1682598655869.png


1682598655869.png (40.4 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.