Spawning patients at different 'destinations' based on label

Spawning patients at different 'destinations' based on label

troy_m3
Not applicable
6 Views
1 Reply
Message 1 of 2

Spawning patients at different 'destinations' based on label

troy_m3
Not applicable

[ FlexSim 20.1.3 ]

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.

30421-flexsim-spanerror-01.jpg

30411-flexsim-spanerror-02.jpg

30390-flexsim-spanerror-03.jpg


0 Likes
Accepted solutions (1)
7 Views
1 Reply
Reply (1)
Message 2 of 2

benjamin_w2
Not applicable
Accepted solution

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:

30403-1593706181307.png

My case function looked like this:

30412-1593706213542.png

I hope this

helps!MultipleLocations.fsm