Thank you for your reply. I have a supper big model and sending it to people will confuse them. Let me explain the issue in more detail.
The worker is suppose to pick up the patient form the waiting area, take it to the exam room, do the test, then clean the room and do the final paper work. The simio default is that if the worker is busy with something and it goes offshift, it will finish that specific job and then it goes off shift. For example if the worker is going offshift when it is transporting the patient to the exam room; it will become "offshiftTransporting" and then it will go "off shift" and leaves the patient. I want the worker to finish everything about that patient (exam, cleaning, paper work), before leaving. Since I am keeping track of how much workers are working in offshift time, I do not want to change the worker capacity when it goes off shift. For example if the worker is offshift and I am forcing it to stay, I want it to have the "offshiftbusy" state no the "busy" state. If I change the capacity it will become "on shift" and it is not what I want to model. I want it to finish everything while the model knows that the worker is working in the offshift mode.
I thought if I use "wait", I could do that, but it is not working.
Any help is really appreciated.
Thanks