question

HK avatar image
0 Likes"
HK asked Jeanette F commented

Routing items based on label

Hello,

I want to send a patient to one of the five different locations based on their label that was defined as an empirical distribution. the label values are string (e.g., discharge, admit, etc).

In a Decide Module, I tried to use "Conditional Decide" but there are only two routing options (True, false).Which optioning a Decide module should I use to send patients to one of the multiple locations based on their string label?


1720823326787.png

FlexSim 24.1.0
labelsrouting
1720823326787.png (70.8 KiB)
· 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.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

A connector can be assigned a name. You highlight a connector and you add a name in quick properties. If your name is identical to your label value, you choose option token.label a decision activity.

5 |100000

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

David Seo avatar image
0 Likes"
David Seo answered

You can use 'Connecrtor By Case' replacing with 'Conditional Decide'.

5 |100000

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