`
cooperay
  • 浏览: 215648 次
  • 性别: Icon_minigender_1
  • 来自: 郑州
社区版块
存档分类
最新评论

Activiti5学习-指定发起人

 
阅读更多

 activiti 指定发起人,并作为流程变量在流程中的其他任务中使用,

 

 在流程文件中定义开始事件

 <startEvent id="start"   activiti:initiator="initiator" />

 

 initiator 作为一个流程变量在其他任务节点中使用

 

 <userTask id="theTask" name="My Task">

    <humanPerformer>

    <resourceAssignmentExpression>

    <formalExpression>${initiator}</formalExpression>

    </resourceAssignmentExpression>

    </humanPerformer>

    </userTask>

 

发起流程是指定发起人

 

identityService.setAuthenticatedUserId("startuser");

runtimeService.startProcessInstanceByKey("simpleProcess");

 

 

分享到:
评论

相关推荐

    activiti-json-converter-5.21.0-API文档-中英对照版.zip

    赠送jar包:activiti-json-converter-5.21.0.jar; 赠送原API文档:activiti-json-converter-5.21.0-javadoc.jar; 赠送源代码:activiti-json-converter-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...

    activiti-engine-5.21.0-API文档-中文版.zip

    赠送jar包:activiti-engine-5.21.0.jar; 赠送原API文档:activiti-engine-5.21.0-javadoc.jar; 赠送源代码:activiti-engine-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-engine-5.21.0.pom; 包含...

    activiti-json-converter-5.21.0-API文档-中文版.zip

    赠送jar包:activiti-json-converter-5.21.0.jar; 赠送原API文档:activiti-json-converter-5.21.0-javadoc.jar; 赠送源代码:activiti-json-converter-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...

    activiti-image-generator-5.21.0-API文档-中文版.zip

    赠送jar包:activiti-image-generator-5.21.0.jar; 赠送原API文档:activiti-image-generator-5.21.0-javadoc.jar; 赠送源代码:activiti-image-generator-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...

    activiti-common-rest-5.21.0-API文档-中英对照版.zip

    赠送jar包:activiti-common-rest-5.21.0.jar; 赠送原API文档:activiti-common-rest-5.21.0-javadoc.jar; 赠送源代码:activiti-common-rest-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-common-rest-...

    activiti-bpmn-model-5.21.0-API文档-中文版.zip

    赠送jar包:activiti-bpmn-model-5.21.0.jar; 赠送原API文档:activiti-bpmn-model-5.21.0-javadoc.jar; 赠送源代码:activiti-bpmn-model-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-bpmn-model-...

    activiti-image-generator-5.21.0-API文档-中英对照版.zip

    赠送jar包:activiti-image-generator-5.21.0.jar; 赠送原API文档:activiti-image-generator-5.21.0-javadoc.jar; 赠送源代码:activiti-image-generator-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...

    activiti-spring-boot-starter-7.1.0.M1.jar

    activiti-spring-boot-starter-7.1.0.M1

    activiti-spring-boot-starter-basic-6.0.0适配springboot2.1.2

    activiti-spring-boot-starter-basic-6.0.0适配springboot2.1.2

    activiti-bpmn-converter-5.18.0-sources.jar

    activiti-bpmn-converter-5.18.0-sources.jar

    activiti-process-validation-5.21.0-API文档-中文版.zip

    赠送jar包:activiti-process-validation-5.21.0.jar; 赠送原API文档:activiti-process-validation-5.21.0-javadoc.jar; 赠送源代码:activiti-process-validation-5.21.0-sources.jar; 赠送Maven依赖信息文件:...

    activiti-bpmn-converter-5.16.4.jar

    activiti-bpmn-converter-5.16.4.jar

    activiti-bpmn-converter-5.21.0-API文档-中英对照版.zip

    赠送jar包:activiti-bpmn-converter-5.21.0.jar; 赠送原API文档:activiti-bpmn-converter-5.21.0-javadoc.jar; 赠送源代码:activiti-bpmn-converter-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...

    springboot-activiti-test-master.zip

    本文将详细介绍如何在SpringBoot项目中整合Activiti,并通过提供的"springboot-activiti-test-master.zip"压缩包进行实战演练。 首先,我们需要了解SpringBoot与Activiti的基本概念。SpringBoot旨在简化Spring应用...

    activiti-designer-5.18.0

    1、将以下四个文件(见附件Activiti Designer 5.18.1插件补丁)拷贝到自己的eclipse的plugin文件夹下面,重启eclipse ...2、将activiti-designer-5.18.0文件夹copy到eclipse\dropins目录下; 3、重启eclipse即可

    activiti-explorer-eclipse项目

    【 activiti-explorer-eclipse项目 】是一个基于Activiti工作流引擎的Eclipse插件项目。 Activiti 是一个开源的业务流程管理系统(BPMN 2.0)和工作流引擎,它允许开发者轻松地在应用程序中集成业务流程管理功能。这...

    Activiti的Eclipse插件activiti-designer-5.18.0

    Activiti的Eclipse插件activiti-designer安装资料包,包含activiti-designer-5.18.0.zip、org.eclipse.emf.transaction_1.4.0.201306111400.jar、org.eclipse.emf.validation.ui_1.7.0.201403111711.jar、org....

    activiti-test-master.zip

    总结来说,"activiti-test-master.zip"为我们提供了一个学习和实践Activiti的实战环境。从模型创建到流程部署,再到在线设计和测试,涵盖了Activiti的核心功能。通过这个项目,读者可以提升对Activiti的理解,掌握...

    eclipse插件activiti-designer-5.14.1

    eclipse中工作流activiti-designer-5.14.1插件 1、将下载好的jars文件夹里的4个jar文件复制到eclipse安装目录的plugins目录下 2、删除eclipse安装目录下,configuration文件夹里的org.eclipse.update文件夹,重启...

    activiti-designer-5.18.0.zip 官方

    Activiti Designer 5.18.0 是一个强大的开源工作流和业务流程管理(BPM)工具,由Alfresco公司开发。它基于Eclipse框架,提供了可视化的流程设计界面,使得开发者和业务分析师能够方便地创建、编辑和管理业务流程。...

Global site tag (gtag.js) - Google Analytics