Generating the Business Service

You must produce a business service to use in running the project.

Procedure

  1. Right-click on the Start Event of the Initial Consultation process, and select Business Service > Generate. The business service displays. It contains:
    • A start event
    • A user task that will be used to collect the starting information
    • A send task to communicate with the business process
  2. Change the Label of the business service to Patient Admissions.
  3. Change the Business Category to DynamicSubProcTutorial/PatientAdmissions.
  4. Select the user task and change its Label to Take Patient Details.
  5. Click on the Interface tab of Take Patient Details , and click on the + icon on the right side of the panel. From the pop-up select the data fields that need to be added.
  6. Click on Add, and data fields get added to the Interface tab.
  7. Uncheck the Mandatory checkbox for the following fields:
    • BloodTestComments
    • Complaint
    • NeedBloodTest
    • NeedXRay
    • XRayComments
  8. In Project Explorer, expand the Patient Admissions business service, expand Data Fields, and click on the NeedBloodTest field.
  9. On the General tab for the field, expand Initial Value(s)... and select false.
  10. Repeat this for the NeedXRay field.
  11. Tailor the form for the Take Patient Details task, as described in Tailoring the Forms. Delete the fields that are not defined as mandatory on the Interface tab for the task, and arrange the others in a sensible order, as shown in the following illustration.
  12. Save the completed process.