Creating the Business Service

The application uses a business service to pass the input parameters (the value of the Customer Name field) to the start event of the business process.

Procedure

  1. Right-click the start event and select Trigger Type > Message Trigger.
  2. This generates a validation error that you can see by moving the pointer over the error flag on the start event.
  3. Click Clean and build project: CustomerServices in the error box, and note that after a short delay, the error is no longer displayed.
  4. Right-click the start event and select Business Service > Generate.
  5. A business service with a user task and a send task is generated:
  6. Rename the user task in the business service Collect Customer Name. Similarly, rename the send task Start Process.
  7. In the Project Explorer, rename the business service from CustomerServices-Catch Message Event to Provide Name.
  8. Save the process package.