相关地址:原文地址 <?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>
flowable 实现多实例-会签-动态配置人员 参考demo(补充xml文件)
最新推荐文章于 2024-05-14 15:29:49 发布