Introduction to common activiti classes

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.