question

Troy M3 avatar image
0 Likes"
Troy M3 asked Benjamin W2 answered

Spawning patients at different 'destinations' based on label

I'm trying to create patients at different 'destinations'/ 'object by case' based on their "MD" label I've given them in their schedule however I'm getting an error "Label does not exist"

I'm assuming this is because the patient has not yet truly been created yet, therefore it cannot find the label to determine the destination location.

Attached are images of the set-up. Any help would be appreciated.


FlexSim 20.1.3
flexsim 20.1.3destinationpatient 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

·
Benjamin W2 avatar image
1 Like"
Benjamin W2 answered

Hi @Troy M3,

I think you need to write token.MD instead of current.MD. If you are in the Arrivals process flow, then you can't use current to reference the instanced flow.

In the sample model, I assigned the MD label like so:

My case function looked like this:

I hope this

helps!MultipleLocations.fsm


1593706181307.png (63.3 KiB)
1593706213542.png (31.3 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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