Time for action – implementing a parallel gateway
We will implement a process with a parallel gateway by performing the following steps:
- We will use an example of a leave process. When an employee applies for leave, the request is sent to the project manager and team leader in parallel and then sent to Human Resources:
- You can populate the form properties for accepting values from the employee on the start event, as shown in the following code:
<startEvent id="sid-2BB933AE-E0AE-48D2-9ACC-B5EC35AD3687"> <extensionElements> <activiti:formProperty id="empName" name="Employee Name" type="string" required="true"></activiti:formProperty> <activiti:formProperty ...