question

Juliette avatar image
0 Likes"
Juliette asked Juliette commented

How can I set an unload destination for an operator depending a string label?

capture-decran-2024-03-14-135347.pngHi Flexsim team,

How can I set an unload destination for an operator depending a string label? I have two machines and two queues. When the number of boxes in queues is below 300 a token is created in process flow with a task sequence. The name of Queue is assigned to a label QueueID. If QueueID is /Queue1 I would like to send a box to Machine1 with an operator. If QueueID is /Queue2 i will send a box to Machine2. I've tried to assign the value /Machine1 or /Machine2 to another label with conditional value. I have also tried to assign destination in Unload menu with Object by case, conditional object , object by global table lookup. It seems that nothing works with the QueueID label which is a string. Any ideas what I am doing wrong? Thanks!

FlexSim 24.0.1
label valuedestination
· 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.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

You can use the standard sendtoport logic of Queue5 to decide which machine to feed, and then the standard transport logic.

If you post the model we can better understand what you are trying and where you've placed your conditional logic, and why your object references are not being relayed through to your tasks. Or you can debug the logic yourself by placing breakpoints in the code.
· 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.