question

pc neo avatar image
0 Likes"
pc neo asked Matthew Gillespie answered

Process Flow encountering error on synchronized activity after preemption

I have encountered an error of "Error: Invalid Connector In at "Synchronize" in "ProcessFlow"." This error happens when the token that was originally in the Synchronize activity was being "Restored Context" after being preempted away. Could anyone share on any possible reason that may cause such an error?

FYI. I am not able to duplicate the issue with a small model.

Attached are some captured pics to show the state before preemption happens

sync-preempt.png

, after preemption happens

sync-error.png

and the error message

sync-error-msg.png

.

thanks in advance.

FlexSim 19.0.2
error messagepreemptionprocess flow preemptionsynchronization
sync-preempt.png (10.1 KiB)
sync-error.png (14.3 KiB)
sync-error-msg.png (6.6 KiB)
· 2
5 |100000

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

Joshua S avatar image Joshua S commented ·

@pc neo

Would you be able to share your model, you can even make a new private question if it is confidential material.

0 Likes 0 ·
pc neo avatar image pc neo Joshua S commented ·

thank you. I've posted the model as a private question. :)

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

This is a bug. In your model you're releasing the token and then that token moves through more connectors after being released. This situation isn't being handled correctly. I'll add the issue to the dev list.

A workaround for your model is to not move the token after it's been released. I did this by converting your flow of assign label activities into a single custom code activity.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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