• 工作流引擎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

    Everything that is related to static data (such as process definitions) are accessed through the 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

  • 相关阅读:
    SQL通配符
    全角半角内容转换
    使用merge into 来更新目标表的个别字段
    数据库分库分表思路
    impdp导入错误ORA-14460
    CentOS只有GNOME桌面,没有GNOME经典桌面
    sqlserver进行发布订阅时提示实例上未安装复制组件解决方法
    SQLSERVER发布订阅,超详细
    sqlserver查询锁以及解锁
    sqlserver调用java文件
  • 原文地址:https://www.cnblogs.com/mengjianzhou/p/11571387.html
Copyright © 2020-2023  润新知