Process activiti user's groups and

A, and increase user packet data tables

1, the establishment of user

 

2, set up the group

 

3, the association relationship between the user and groups

Second, the new testing process

1, the overall process

2, set the ID property, fill in the group of "managers" mission

3, set the ID property, fill in the group's "general manager" task

   

4, modify the process definition ID, Save the process definition generates two files into the classpath directory project

 

Third, the process definition deployment and testing

1, process definition deployment

2, the beginning of a process task

 

3, by user query set of tasks can be found to the query ID is assigned to the group "department" of tasks "dept1" users.

 

4, to complete the task, and the task assigned to the current approver.

 

5, see the completion of the task has not been completed for approval to the General Manager

 

Guess you like

Origin www.cnblogs.com/wuac/p/11119634.html