question

James Rodgers1 avatar image
0 Likes"
James Rodgers1 asked James Rodgers1 commented

OnRelease process flow initiated by a patient release or break/off shift event?

I have staff at registration desks using a "dummy" process to keep them there. A patient acquires the staff (preempt), does the registration process time then releases the staff. The timetable down behavior for staff makes them go on breaks to a break room and sends them off shift to their reset position. I need to modify the OnRelease process flow (which I have installed) to have the staff return to their assigned desk when they come off a break or come back from being off shift. As such I need to detect whether the OnRelease process flow is being fired by an off shift/break event, and instruct them to return to their assigned desk. How can this be accomplished? @Matthew Gillespie

Also open to alternative approaches. Thanks!

FlexSim 20.1.2
flexsim 20.1.2staff
onrelease.jpg (88.9 KiB)
· 4
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

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered James Rodgers1 commented

Here's how I would model this.

NewFlow.fsm

I put most of the staff back on the default Staff flow, but then made a new RegistrationStaff flow to control RegistrationStaff1-4. The main purpose of this flow is to change the staff's on idle behavior. Instead of returning to their reset position when idle, now the registration staff will return to their desk when idle.

This way you don't need to make a super long process for the registration staff and you don't have to bother with them getting preempted over and over. You also don't need to worry about who or what is releasing them. The only check I make is, if they're idle, I check if they're at their desk and send them there if they're not.


1592599234258.png (25.1 KiB)
newflow.fsm (483.4 KiB)
· 7
5 |100000

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