<?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:activiti="http://activiti.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.activiti.org/test"> <process id="counters_process" name="督办处理流程" isExecutable="true"> <startEvent id="startevent1" name="Start"></startEvent> <userTask id="biz_form" name="会签表单" activiti:candidateGroups="#{deptId}"></userTask> <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="biz_form"></sequenceFlow> <userTask id="usertask1" name="会签" activiti:assignee="#{map.userId}" activiti:candidateGroups="#{map.deptId}"> <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="mapList" activiti:elementVariable="map"> <completionCondition>${nrOfInstances==nrOfCompletedInstances}</completionCondition> </multiInstanceLoopCharacteristics> </userTask> <sequenceFlow id="flow2" sourceRef="biz_form" targetRef="usertask1"></sequenceFlow> <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway> <sequenceFlow id="flow3" sourceRef="usertask1" targetRef="exclusivegateway1"></sequenceFlow> <sequenceFlow id="flow4" sourceRef="exclusivegateway1" targetRef="biz_form"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${signCount!=signCount}]]></conditionExpression> </sequenceFlow> <endEvent id="endevent1" name="End"></endEvent> <sequenceFlow id="flow5" sourceRef="exclusivegateway1" targetRef="endevent1"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${signCount==signCount}]]></conditionExpression> </sequenceFlow> </process> <bpmndi:BPMNDiagram id="BPMNDiagram_counters_process"> <bpmndi:BPMNPlane bpmnElement="counters_process" id="BPMNPlane_counters_process"> <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1"> <omgdc:Bounds height="35.0" width="35.0" x="60.0" y="130.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="biz_form" id="BPMNShape_biz_form"> <omgdc:Bounds height="55.0" width="105.0" x="150.0" y="120.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1"> <omgdc:Bounds height="55.0" width="105.0" x="380.0" y="120.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1"> <omgdc:Bounds height="40.0" width="40.0" x="628.0" y="130.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1"> <omgdc:Bounds height="35.0" width="35.0" x="730.0" y="133.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1"> <omgdi:waypoint x="95.0" y="147.0"></omgdi:waypoint> <omgdi:waypoint x="150.0" y="147.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2"> <omgdi:waypoint x="255.0" y="147.0"></omgdi:waypoint> <omgdi:waypoint x="380.0" y="147.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3"> <omgdi:waypoint x="485.0" y="147.0"></omgdi:waypoint> <omgdi:waypoint x="628.0" y="150.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4"> <omgdi:waypoint x="648.0" y="170.0"></omgdi:waypoint> <omgdi:waypoint x="647.0" y="278.0"></omgdi:waypoint> <omgdi:waypoint x="202.0" y="278.0"></omgdi:waypoint> <omgdi:waypoint x="202.0" y="175.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5"> <omgdi:waypoint x="668.0" y="150.0"></omgdi:waypoint> <omgdi:waypoint x="730.0" y="150.0"></omgdi:waypoint> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions>