question

David avatar image
0 Likes"
David asked David commented

Destination based on token label

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

FlexSim 24.2.2
taskexecutorslabel valuedestinationlabel destination
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

Krzysztof J avatar image
0 Likes"
Krzysztof J answered David commented

In the second travel put:

Model.find(token.Destination)

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

· 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.