question

Kari Payton avatar image
0 Likes"
Kari Payton asked Matthew Gillespie commented

Conditional Decide with token label

I have a token label called "destination" that reads "DW_1 Mold".

I wanted to put a conditional decide if it reads that string then send to connector 1. But, when I run the program it sends to connector 2. Any ideas what I am doing wrong?

FlexSim 16.1.2
conditional decide
screenshot-2.png (35.5 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.

1 Answer

Steven Hamoen avatar image
2 Likes"
Steven Hamoen answered Matthew Gillespie commented

I could be mistaken but to me it looks like your destination is not a string but a pointer to an object. So I think that getname( getlabel( token, "destination" ) ) == "DW_1 Mold" might do the trick

· 6
5 |100000

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