Adding gateways and Human Tasks
If Customer Type
= New
, then management approval is required, and the process token will pick the new path; else, the process token moves ahead with the existing path.
You will add an exclusive gateway for the process token to switch either to a new path or a non-new path. And you will model a Management Approval Task which you will implement in Chapter 5, Human Workflow in BPM Process.
How to do it...
In this section, you will create gateways:
1. Go to the BPM project navigator | SalesToContract process.
2. Click on Component Palette | BPM | Gateways and select Exclusive Gateway.
3. Click on the Process designer in the SalesRepresentative swimlane between the CustomerCheck business rule and the Is Business Analyst Review Required? gateway.
4. In the Properties dialog under the option Enter Name enter the value
CheckCustomerType
.5. Click OK.
6. Make the sequence flow from the CustomerCheck rule to the CheckCustomerType gateway, and from there to the Is Business...