Activiti summary
Introduction to BPMN file properties
Currently, we only use four BPMN structures in our project: startEvent, userTask, ExclusiveGateway, and endEvent.
1. startEvent
When creating a startEvent, you need to specify a process creator and assign properties to the Initiator, as shown in the following figure
Only when this property is set can the process creator be specified when the process is created
2. userTask
UserTask needs to pay attention to three attributes, Assignee, Candidate Users, and Candidate Group, which are all used to specify the executor of the process. The executor can directly set the values of the three attributes, or dynamically set them through listeners.
3. ExclusiveGateway
ExclusiveGateway is an ExclusiveGateway. It can set the execution listener itself. In addition, its outdegree can be >= 2.
4. endEvent
It’s similar to startEvent