flowable 实现多实例-会签-动态配置人员 参考demo(补充xml文件)

相关地址:原文地址
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.flowable.org/processdef">
  <process id="living" name="MoreLiving" isExecutable="true">
    <documentation>测试flowable多实例</documentation>
    <startEvent id="Start"></startEvent>
    <userTask id="UserTask1" name="U1" flowable:assignee="${assignee}">
         <multiInstanceLoopCharacteristics isSequential="false" flowable:collection="assigneeList"                                   flowable:elementVariable="assignee">
        <loopCardinality>4</loopCardinality>
        <completionCondition>${nrOfCompletedInstances/nrOfInstances >= 0.50}</completionCondition>
      </multiInstanceLoopCharacteristics>
    </userTask>
    <userTask id="UserTask2" name="U2"></userTask>
    <endEvent id="End"></endEvent>
    <sequenceFlow id="S-U1" sourceRef="Start" targetRef="UserTask1"></sequenceFlow>
    <sequenceFlow id="U1-U2" sourceRef="UserTask1" targetRef="UserTask2"></sequenceFlow>
    <sequenceFlow id="U2-E" sourceRef="UserTask2" targetRef="End"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_living">
    <bpmndi:BPMNPlane bpmnElement="living" id="BPMNPlane_living">
      <bpmndi:BPMNShape bpmnElement="Start" id="BPMNShape_Start">
        <omgdc:Bounds height="30.0" width="30.0" x="100.0" y="163.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="UserTask1" id="BPMNShape_UserTask1">
        <omgdc:Bounds height="80.0" width="100.0" x="315.0" y="138.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="UserTask2" id="BPMNShape_UserTask2">
        <omgdc:Bounds height="80.0" width="100.0" x="570.0" y="138.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="End" id="BPMNShape_End">
        <omgdc:Bounds height="28.0" width="28.0" x="810.0" y="164.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="S-U1" id="BPMNEdge_S-U1">
        <omgdi:waypoint x="129.94999970750393" y="178.0"></omgdi:waypoint>
        <omgdi:waypoint x="314.99999999991076" y="178.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="U2-E" id="BPMNEdge_U2-E">
        <omgdi:waypoint x="669.9499999999294" y="178.0"></omgdi:waypoint>
        <omgdi:waypoint x="810.0" y="178.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="U1-U2" id="BPMNEdge_U1-U2">
        <omgdi:waypoint x="414.9499999999562" y="178.0"></omgdi:waypoint>
        <omgdi:waypoint x="570.0" y="178.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值