Destination based on token label

Destination based on token label

DavidG1
Not applicable
30 Views
2 Replies
Message 1 of 3

Destination based on token label

DavidG1
Not applicable

[ FlexSim 24.2.2 ]

Hi everyone,

I'm trying to change destination of task executers based on token labels. Tokens have labels "Destination" with values NN3 or NN5 and based on these values I'm trying to navigate task executers to correspoding network nodes. But I'm having trouble with how to correctly inherit label value to destination field.

destination.png

What should be the correct way to change destination based on label?

destination based on token label.fsm

0 Likes
Accepted solutions (1)
31 Views
2 Replies
Replies (2)
Message 2 of 3

krzysztof_jurczykF5GXD
Enthusiast
Enthusiast
Accepted solution

In the second travel put:

Model.find(token.Destination)

Your label value is a string - destination should be a pointer.

0 Likes
Message 3 of 3

DavidG1
Not applicable
Thanks Krzysztof, it works.
0 Likes