Can the same trigger (on the same Activity Started Trigger) be used only once?

Can the same trigger (on the same Activity Started Trigger) be used only once?

fatimah_ea
Not applicable
125 Views
6 Replies
Message 1 of 7

Can the same trigger (on the same Activity Started Trigger) be used only once?

fatimah_ea
Not applicable

[ FlexSim HC 5.3.4 ]

For instance I want to reserve multiple Locations through the Activity Started Trigger for one patient, so I set two "Reserve a Location" triggers. Only the first one is considered though. So instead of blocking both DressingRooms it blocks only the first. So I assume the same Patient can't block multiple Locations at once?

0 Likes
Accepted solutions (1)
126 Views
6 Replies
Replies (6)
Message 2 of 7

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

Yes, the same trigger can be used twice, but a single patient can only have one reserved location at a time. So both triggers are being fired, but in the end only one of the locations is reserved for the patient.



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 3 of 7

fatimah_ea
Not applicable

Thank you Matthew, I already thought so just wanted to check. Is there anyway around that? I really need to block those Rooms as long as someone is in the CT or PrepArea but so far I haven't found a suitable solution for that.

0 Likes
Message 4 of 7

Matthew_Gillespie
Autodesk
Autodesk
@Cliff King Any ideas?


Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 5 of 7

Matthew_Gillespie
Autodesk
Autodesk

It sounds like the main thing you're trying to do is to stop other patients from acquiring the other room. In that case you can tell the object to close its input ports and then no other patient should be able to acquire it. You can do this by using the Stop Flow pickoption in an Activity Started/Finished trigger. Then use the Resume Flow option when you want to unreserve it.



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 6 of 7

fatimah_ea
Not applicable

Yes I had tried this too and while the Stop Flow trigger works it doesn't resume the flow even though I set it. I assume I did something wrong there?

10892-stopresumeflow.png

0 Likes
Message 7 of 7

fatimah_ea
Not applicable

Okay so I just tried around somewhat and just added an extra Resume Flow trigger on another activity and suddenly it worked. If I use it just on one Trigger it keeps the rooms locked. Is that supposed to be that way or are there certain rules for using Triggers like that?

Another problem with this option is, that when Patient one leaves the rigger resume flow kicks even though another patient entered that kicked off stop input. So patient 2 block on the room just gets undone.

0 Likes