Sometimes entities make multiple passes through the same activity. In such instances, the activity time or routing may be a function of which pass it is.
The model used for this example, as well as all of the modeling "how-to" examples, can be found in the ProModel Solutions Café (http://www.promodel.com/solutionscafe/howto/). A video demonstrating this solution can be found here.
At a doctor’s office, patients check in at a receptionist desk and wait for their name to be called to see the doctor. After their appointment, they return to the receptionist desk to pay for the visit and schedule any follow-up visit. The first pass through this activity takes only N(1,.2) minutes and then patients go to a waiting area. The second pass takes N(2,.5) minutes and then patients exit the office.
Logic for Receptionist Activity.
Routing to Waiting Area.
Routing to Exit.
An attribute called aPass is defined which is incremented (INC aPass) in the Logic Builder of the Receptionist activity dialog. An IF-THEN statement is defined to cause the wait time to be a function of the value of Pass. The conditional routing chooses the destination as the Waiting Area if pass is equal to 1 (i.e., this is the first pass), or To Exit if pass is equal to 2.
© 2014 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com