I want to set staff state as EscortPatient when the staff escort patient tstaff state.fsmo exit.
I want to set staff state as EscortPatient when the staff escort patient tstaff state.fsmo exit.
You can manually set the state of the staff by using a line of code like this:
patient.Staff.stats.state("HC States").value = "EscortPatient";
The bigger issue is that as soon as the staff starts walking he sets his own state to InTransit so it will just get overwritten if you set it before the Escort Patient activity. One thing you could do is wait a couple seconds after the Escort Patient activity starts before setting the staff's state.
17 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved