工作流引擎Activiti 学习(核心类)
Posted mengjianzhou
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了工作流引擎Activiti 学习(核心类)相关的知识,希望对你有一定的参考价值。
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
RuntimeService runtimeService = processEngine.getRuntimeService();
RepositoryService repositoryService = processEngine.getRepositoryService();
TaskService taskService = processEngine.getTaskService();
ManagementService managementService = processEngine.getManagementService();
IdentityService identityService = processEngine.getIdentityService();
HistoryService historyService = processEngine.getHistoryService();
FormService formService = processEngine.getFormService();
DynamicBpmnService dynamicBpmnService = processEngine.getDynamicBpmnService();
1. RepositoryService
The RepositoryService is probably the first service needed when working with the Activiti engine.
This service offers operations for managing and manipulating deployments and process definitions
2. RuntimeService
It deals with starting new process instances of process definitions
3.IdentityService
The IdentityService is pretty simple. It allows the management (creation, update, deletion, querying, …?) of groups and users
4.FormService
The FormService is an optional service. Meaning that Activiti can perfectly be used without it, without sacrificing any functionality
A start form is a form that is shown to the user before the process instance is started, while a task form is the form that is displayed when a user wants to complete a form
以上是关于工作流引擎Activiti 学习(核心类)的主要内容,如果未能解决你的问题,请参考以下文章