Activiti Spring Boot Integration Experience

Source: Internet
Author: User

Deployment
    1. Spring Boot Official documentation
    2. Maven Configuration
<dependency> <groupId>org.activiti</groupId> <artifactId> Activiti-spring-boot-starter-basic</artifactid> <version>6.0.0</version> </dependency> Applications
    1. Consider excluding the Securityautoconfiguration class when an exception occurs when starting a project: @SpringBootApplication (exclude = Securityautoconfiguration.class)
    2. All of the default src/main/resources/processes. BPMN. Bpmn20.xml will be automatically deployed and can be disabled at the configuration file
    3. Processengineconfiguration (auto-injected as Springprocessengineconfiguration) is the Activiti control center that manages the Activiti execution engine
Activiti API

URL here

Process Engine

belongs to the BPMN execution engine?

The Activiti engine, which can be considered a activiti unit, manages a range of service to control its life cycle

Services

Service is basically auto-injected

    • Repositoryservice: Provides methods related to the process definition, query model, process definition, and process deployment (deployment).
    • Runtimeservice: Provides process execution-related methods that can query process instances (process insatnce), execution instances (execution), and open process instances.
    • Taskservice: Provides task-related methods for querying, assigning, completing tasks, and so on.
    • Historiyservice: Provides a history-related approach to querying historical tasks (historic task Istance), historical process instances (historic process instance), and so on.
    • Formservice: Provides a form-related method, a user task can correspond to a formkey, can be formkey to find a form, provide a way to obtain the form.
    • Identityservice: Provide user rights authentication related methods, can query users, groups and other information, can set the current user.
    • Managementservice: Related to the engine configuration, the engine database information can be obtained, and the custom command is executed.
    • Dynamicbpmnservice: Provides a way to dynamically acquire and dynamically modify the process definition.

Activiti Spring Boot Integration Experience

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.