Why workflow?
Disadvantages of traditional design when the process changes:
1. process-related attributes and Business Object Attributes are stored in business objects.
2. process-related logic and business logic are put into the business logic
Common classes
Processengineconfiguration process engine configuration object (configure database connection information and table creation policy)
Core objects of the processengine Process Engine (check whether the environment is correct and manage various services)
Repositoryservice warehouse service object (manage deployment information)
Runtimeservice service objects (operations such as start and flow of management processes)
Taskservice task service object (the data in the task table is an extension of the exeuction table, and the task creation time and handler)
Deployment related classes:
Deploymentbuilder publishes a configuration object (the alias of the published Rule file, rule image, and process display)
Processdefinition process definition (used to describe the overall information of the publishing process)
Activityimpl process activity (used to describe information about each activity in a process)
Operation-related classes:
Execution object (used to describe the basic information of the current active node)
Processinstance process Instance Object (process instance always only wants execution (Root) object)
Task object (Task creation time and handling person)
Use Cases
Process deployment information management:
1. Release Process
2. view the process definition processdefinitionquery
3. Deletion Process
4. view the process attachment
Process Execution Management:
1. Start the process
2. View tasks (Private/Public)
3. Claim the claim userid and taskid
4. Complete the task (taskid)
5. view the task status