码迷,mamicode.com
首页 > 其他好文 > 详细

工作流引擎Activiti 学习(核心类)

时间:2019-09-23 11:56:04      阅读:83      评论:0      收藏:0      [点我收藏+]

标签:simple   wan   repo   while   get   star   code   eth   operation   

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 学习(核心类)

标签:simple   wan   repo   while   get   star   code   eth   operation   

原文地址:https://www.cnblogs.com/mengjianzhou/p/11571387.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!