Architecting and designing : Business Process Analysis (BPA) : Simulation of Process Models : Simulation tutorials : Simulation of BPMN Business Process Flows : Simulating a SOA Process : 5. Specifying Service Time Profiles
  
5. Specifying Service Time Profiles
One final step before we simulate the Check Credit Process Flow – we must specify how long it takes to perform each process. In other words, we must specify a Service Time Profile for each process.
The Check Customer Credit process in the Reservation System pool is of course a process that will use a service from the Credit Agency, and therefore the initial thought might be that it does not take any time to perform, since the Credit Agency is doing all the work. However, it still takes time to send customer information to the Credit Agency; and in fact there may be times where there is quite a bit of delay to even connect to the Credit Agency to send the information. You might even want to rename the Check Customer Credit process in the Reservation System pool to something more appropriate – for example, Send Credit Details to Agency. We will not do that in this tutorial – but we will specify that as the name of the Service Time Profile applied to the process.
1 Open the definition of the Check Customer Credit process, and on Page 2 of its Sim Process tab, specify a Service Time Profile of SendCreditDetailstoAgency – a Constant that takes 2 minutes to perform (see picture below).
Check Customer Credit Service Time Profile
2 Open the definition of the Check Credit Details process in the Credit Agency pool, and on Page 2 of its Sim Process tab, specify a Service Time Profile of Check Credit – a Constant that takes 2 minutes to perform (see picture below).
Specifying Service Time Profile of Check Credit Details Process
3 Open the definition of the Send Notification of Credit Approval process in the Credit Agency pool, and on Page 2 of its Sim Process tab, specify a Service Time Profile of Send Out Notification of Approval – a Constant that takes .2 minutes (two tenths of a minute) to perform (see picture below).
Service Time Profile for Send Notification of Credit Approval
4 Open the definition of the Send Notification of Credit Rejection process in the Credit Agency pool, and on Page 2 of its Sim Process tab, specify a Service Time Profile of Send Out Notification of Rejection – a Constant that takes .4 minutes (four tenths of a minute) to perform (see picture below).
Service Time Profile of Send Notification of Credit Rejection
5 Open the definition of the Reserve Room process, and on Page 2 of its Sim Process tab, specify a Service Time Profile of Mark Room as Reserved – a Constant that takes .2 minutes (two tenths of a minute) to perform (see picture below).
Service Time Profile for Reserve Room Process
6 Open the definition of the Provide Customer with Reservation Number process, and on Page 2 of its Sim Process tab, specify a Service Time Profile of Provide Reservation Number – a Constant that takes .5 minutes (five tenths of a minute) to perform (see picture below).
Service Time Profile for Provide Customer with Reservation Number
7 Open the definition of the Notify Customer of Credit Problem process, and on Page 2 of its Sim Process tab, specify a Service Time Profile of Provide Notification of Credit Problem – a Constant that takes .5 minutes (five tenths of a minute) to perform (see picture below).
Service Time Profile for Notify Customer of Credit Problem
Next topic
6. Specifying diagram simulation properties and simulate
Parent topic
Simulating a SOA Process