流程图:
![](https://img-blog.csdnimg.cn/img_convert/292e9cad6b3b4c388e2f7db7196930d9.png)
具体参数:
![](https://img-blog.csdnimg.cn/img_convert/4e7bd4f549d074960e01acfdbbd3bc23.png)
集合多实例:userList
元素变量(多实例):user
xml:(多人会签的xml)
<userTask id="sid-7B86BAF3-FF20-4358-928E-B7123EC49EBF" name="评委审批" flowable:assignee="${user}">
<multiInstanceLoopCharacteristics isSequential="false" flowable:collection="users" flowable:elementVariable="user">
<completionCondition>${nrOfCompletedInstances/nrOfInstances>0.5}</completionCondition>
</multiInstanceLoopCharacteristics>
</userTask>
在此处需要注意,按照上图生成的流程图直接使用会导致评委审批生成时,审批人没有被注入进去,需要自己手动添加 flowable:assignee="${user},即与flowable:elementVariable="user"中的user对应。