question

gilbert jerald avatar image
0 Likes"
gilbert jerald asked Matt Long answered

why token is not moving to right location in process flow?

when i run my model at a particular time token is not moving to right location as per the condition in "spliter" and it shows the error like this" time: 34.886161 exception: Error: Invalid destination at activity "Decide" in "ProcessFlow" " how to over come this problem such that the token move to correct location as per the condition in "spliter" here i have attached my model for your reference link-process-flow-with-3d.fsm

Choose One
token is not moving in process flow
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

·
Matt Long avatar image
1 Like"
Matt Long answered

The Destination on a Decide activity can be any of the following types:

1) Numbers, where the number associates with the rank of the outgoing connectors.

2) Strings, where the string value equals the name of an outgoing connector.

3) Activity (treenode), where the activity will "transport" to the activity whether connected to it or not.

Anything beyond this will throw the error you are seeing. Set a stop time to 34.88, right before the first exception is thrown, hit step and view the token that enters the Decide activity.

The counter label that you're using to make your decision is referencing another token which is an invalid destination.

Looks like in your original Create Counter activity, you push the value Label: itemtype, but later in the flow when you get to all of the Free Counter activities, you are pushing the value Token: Entering. Instead, you should be pushing Label: counter so you always have numbers on your List.


decide.png (36.0 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.

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.