当前位置:网站首页>flowable Activiti7 会签
flowable Activiti7 会签
2022-04-21 12:36:00 【后觉2022】
/**
* 博客 https://blog.52itstyle.vip
*/
<subProcess id="subprocess" name="合同评审">
<multiInstanceLoopCharacteristics isSequential="false" activiti:collection="assigneeList" activiti:elementVariable="assignee">
<completionCondition>${nrOfCompletedInstances/nrOfInstances==1}</completionCondition>
</multiInstanceLoopCharacteristics>
<!--省略相关任务节点代码-->
</subProcess>
collection:存放集合,集合中可以存任意值,工作流会根据你集合里的值个数,去生成对应的子流程,这里我们存放一级审批的用户ID。
elementVariable:节点流程变量,用于在流程图中代替集合中表示当前子流程的变量,对应子流程中第一个任务节点的变量名。
completionCondition:完成条件,这里写的表达式如果满足即可流转到下一步。
//4个部门审核,生成4个流程,集合中获取并存放的是一级评审人
List<String> assigneeList= Arrays.asList(new String[] {"1","2","3","4"});
variables.put("assigneeList", assigneeList);
ProcessInstance in = runtimeService.startProcessInstanceByKey("contract_review", variables);
版权声明
本文为[后觉2022]所创,转载请带上原文链接,感谢
https://block-ai.blog.csdn.net/article/details/124303883
边栏推荐
- The small program rotates the mobile phone to push the stream, and the remote pull stream picture is cut
- Vggnet neural network based on pytorch for flower recognition
- Berkeley, Samsung | a fast post training converter pruning framework
- BEVSegFormer:一个来自任意摄像头的BEV语义分割方法
- 2020batjz Android Senior Engineer Interview Questions - multiple choice questions collection (with answer analysis)
- Anchor-free新网络:CenterNet携手CornerNet形成了CenterNet++
- Controlling the release and introduction of rip routing based on Routing
- Validation数据校验注解
- A comprehensive understanding of static code analysis
- Share some Chrome browser plug-ins I use frequently, each of which is easy to use
猜你喜欢

Notepad + + how to copy multiple lines and paste them to the corresponding position

ASM插桩之美

How to choose the production company of product 3D display film?

Vscode often pops up: an error occurred when trying to create a file in the target directory. Try again. Skip this file and close setup
![[software testing series I] basic knowledge of software testing](/img/00/c6bb357eedcb5ef232d235010ff749.png)
[software testing series I] basic knowledge of software testing

BEVSegFormer:一个来自任意摄像头的BEV语义分割方法

Berkeley, Samsung | a fast post training converter pruning framework

Study notes of deep learning (6)

STM32Cubemx安装

Best practices | improve HR workflow by using JIRA service management
随机推荐
Top stream "fitness blogger" Liu Zhenhong
【无标题】
基于C#实现文本读取的7种方式
[C language implementation of address book] takes you through the key and difficult points of C language
Web--用户注册界面
Best practices | improve HR workflow by using JIRA service management
Daily AI frontier terminology: active learning
Study notes of deep learning (6)
阿里天池比赛——街景字符编码识别
通过列表修改字符串的坑
Discussion on content and cost of elastic Architecture - Digital Architecture Design (3)
Database, add a field data of another table to another table, and add the data you need when adding at the same time
CVPR 2022 Oral|港中文开源PoseC3D:基于3D-CNN的骨骼动作识别框架
二叉树遍历系列01-递归遍历与递归序
SKU中的销售属性值必须成对填写,那这是什么原因
2022年一级注册建筑师考试建筑物理与设备复习题及答案
import in protocol buffer
[software testing series I] basic knowledge of software testing
Binary tree traversal series 02 Morris traversal
IPEmotion采集J1939协议信号