We installed plug-ins in front of activiti, now began to draw a flow chart, we leave approval flow chart by drawing learning
A flowchart
Leave approval process position where the table leave.bpmn
Open the eclipse Windows-> preferences, FIG checking option, to generate image flowchart leave.png
Second, create a flow chart
Right-click on the folder processes, new-other-Activity-Activity Diagram.
Then open the new Activity Diagram file, the file extension bpmn file, open the file will show all the components of Activity
2.1, create flow charts, and build each process id and name
The establishment of start node, note that id can not be repeated
Fill in the establishment of leave application task
to establish an exclusive gateway
to set conditional branch expressions
Set task manager for approval, director approval task
Establish end node
2.2, add the corresponding form four task events
Because we want to branch data through a particular form of the process to determine the way to turn, and leave the normal process needs to fill some of the contents, we are written in the form of Form corresponding event.
We click on fill out the leave application event, click Form in the Properties, and then click New to create a right of property
Leave Application Events
Event Director for approval
Event manager for approval
HR audit events
** 2.3 ** fill branch determination condition
We click on the branch line, and then select Main config, enter $ {submitTime> 3} In Condition in
submitTime here is to fill leave a property application event Form form, where we will use it to determine whether the process to director approval .
A simple process to configure Well, I leave here only part of the process, only to learn that there are some deficiencies logic.
If you think this article to help you, then click the Follow button troublesome picture on the right, thank you!
Technical progress in the exchange, dissemination of knowledge sharing in