123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <?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="MEETING_APPROVE" name="会议报名审批" isExecutable="true">
- <documentation>{service:"itim-meeting-service",business:"meetingApply",viewName:"MeetingApplyZhForm"}</documentation>
- <startEvent id="startevent1" name="Start"></startEvent>
- <userTask id="usertask1" name="合作局专责" default="flow3" activiti:assignee="${assignee}" activiti:candidateUsers="${candidateUsers}">
- <documentation>{"btns": "4,5","4":{"nextTaskName":"合作局处长","approver":"mutil","group":"MEETING.GROUP.APPROVE.HZJCZ"},"5":{"nextTaskName":"报名人重新报名"}}</documentation>
- </userTask>
- <userTask id="usertask2" name="报名人重新报名" activiti:assignee="${startUserId}">
- <documentation>{"btns": "6,7","edit": "true","7":{"approver":"mutil"}}</documentation>
- <extensionElements>
- <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
- </extensionElements>
- </userTask>
- <sequenceFlow id="flow3" name="驳回" sourceRef="usertask1" targetRef="usertask2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 5}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="usertask3" name="合作局处长" activiti:assignee="${assignee}" activiti:candidateUsers="${candidateUsers}">
- <documentation>{"btns": "3,4,5","3": {"approver":"none"},"4": {"approver":"none"},"5":{"nextTaskName":"报名人重新报名"}}</documentation>
- <extensionElements>
- <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
- </extensionElements>
- </userTask>
- <sequenceFlow id="flow7" name="驳回" sourceRef="usertask3" targetRef="usertask2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 5}]]></conditionExpression>
- </sequenceFlow>
- <endEvent id="endevent1" name="End"></endEvent>
- <endEvent id="endevent2" name="End"></endEvent>
- <sequenceFlow id="flow10" name="通过" sourceRef="usertask3" targetRef="endevent2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 4}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow11" name="不通过" sourceRef="usertask3" targetRef="endevent1">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 3}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow13" name="通过" sourceRef="usertask1" targetRef="usertask3">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 4}]]></conditionExpression>
- </sequenceFlow>
- <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>
- <sequenceFlow id="flow14" sourceRef="startevent1" targetRef="exclusivegateway3"></sequenceFlow>
- <sequenceFlow id="flow15" name="自主报名" sourceRef="exclusivegateway3" targetRef="usertask1">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${invitationCode == 000000}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="usertask4" name="专责审批" activiti:assignee="${assignee}" activiti:candidateUsers="${candidateUsers}">
- <documentation>{"btns": "3,4,5","3": {"approver":"none"},"4": {"approver":"none"},"5":{"nextTaskName":"报名人重新报名"}}</documentation>
- <extensionElements>
- <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
- </extensionElements>
- </userTask>
- <sequenceFlow id="flow17" name="被邀请报名" sourceRef="exclusivegateway3" targetRef="usertask4">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${invitationCode != 000000}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow18" name="驳回" sourceRef="usertask4" targetRef="usertask2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 5}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow19" name="通过" sourceRef="usertask4" targetRef="endevent2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 4}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow20" name="不通过" sourceRef="usertask4" targetRef="endevent1">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 3}]]></conditionExpression>
- </sequenceFlow>
- <parallelGateway id="parallelgateway2" name="Parallel Gateway"></parallelGateway>
- <sequenceFlow id="flow21" sourceRef="usertask2" targetRef="parallelgateway2"></sequenceFlow>
- <sequenceFlow id="flow22" name="重新提交" sourceRef="parallelgateway2" targetRef="exclusivegateway3">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 7}]]></conditionExpression>
- </sequenceFlow>
- </process>
- <bpmndi:BPMNDiagram id="BPMNDiagram_MEETING_APPROVE">
- <bpmndi:BPMNPlane bpmnElement="MEETING_APPROVE" id="BPMNPlane_MEETING_APPROVE">
- <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
- <omgdc:Bounds height="35.0" width="35.0" x="60.0" y="170.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
- <omgdc:Bounds height="55.0" width="105.0" x="310.0" y="160.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
- <omgdc:Bounds height="55.0" width="131.0" x="425.0" y="291.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3">
- <omgdc:Bounds height="55.0" width="105.0" x="740.0" y="160.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
- <omgdc:Bounds height="35.0" width="35.0" x="970.0" y="170.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
- <omgdc:Bounds height="35.0" width="35.0" x="775.0" y="70.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">
- <omgdc:Bounds height="40.0" width="40.0" x="150.0" y="167.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="usertask4" id="BPMNShape_usertask4">
- <omgdc:Bounds height="55.0" width="105.0" x="310.0" y="60.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="parallelgateway2" id="BPMNShape_parallelgateway2">
- <omgdc:Bounds height="40.0" width="40.0" x="470.0" y="380.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
- <omgdi:waypoint x="415.0" y="187.0"></omgdi:waypoint>
- <omgdi:waypoint x="491.0" y="188.0"></omgdi:waypoint>
- <omgdi:waypoint x="490.0" y="291.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="24.0" x="456.0" y="230.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
- <omgdi:waypoint x="792.0" y="215.0"></omgdi:waypoint>
- <omgdi:waypoint x="792.0" y="318.0"></omgdi:waypoint>
- <omgdi:waypoint x="556.0" y="318.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="22.0" x="761.0" y="246.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
- <omgdi:waypoint x="792.0" y="160.0"></omgdi:waypoint>
- <omgdi:waypoint x="792.0" y="105.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="22.0" x="800.0" y="118.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
- <omgdi:waypoint x="845.0" y="187.0"></omgdi:waypoint>
- <omgdi:waypoint x="970.0" y="187.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="33.0" x="889.0" y="151.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
- <omgdi:waypoint x="415.0" y="187.0"></omgdi:waypoint>
- <omgdi:waypoint x="740.0" y="187.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="24.0" x="589.0" y="160.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
- <omgdi:waypoint x="95.0" y="187.0"></omgdi:waypoint>
- <omgdi:waypoint x="150.0" y="187.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
- <omgdi:waypoint x="190.0" y="187.0"></omgdi:waypoint>
- <omgdi:waypoint x="310.0" y="187.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="48.0" x="210.0" y="187.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
- <omgdi:waypoint x="170.0" y="167.0"></omgdi:waypoint>
- <omgdi:waypoint x="170.0" y="87.0"></omgdi:waypoint>
- <omgdi:waypoint x="310.0" y="87.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="60.0" x="195.0" y="98.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
- <omgdi:waypoint x="362.0" y="115.0"></omgdi:waypoint>
- <omgdi:waypoint x="442.0" y="151.0"></omgdi:waypoint>
- <omgdi:waypoint x="490.0" y="186.0"></omgdi:waypoint>
- <omgdi:waypoint x="490.0" y="291.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="24.0" x="415.0" y="134.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow19" id="BPMNEdge_flow19">
- <omgdi:waypoint x="415.0" y="87.0"></omgdi:waypoint>
- <omgdi:waypoint x="775.0" y="87.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="24.0" x="589.0" y="97.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow20" id="BPMNEdge_flow20">
- <omgdi:waypoint x="362.0" y="60.0"></omgdi:waypoint>
- <omgdi:waypoint x="362.0" y="47.0"></omgdi:waypoint>
- <omgdi:waypoint x="987.0" y="47.0"></omgdi:waypoint>
- <omgdi:waypoint x="987.0" y="170.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="54.0" width="36.0" x="650.0" y="21.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow21" id="BPMNEdge_flow21">
- <omgdi:waypoint x="490.0" y="346.0"></omgdi:waypoint>
- <omgdi:waypoint x="490.0" y="380.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow22" id="BPMNEdge_flow22">
- <omgdi:waypoint x="470.0" y="400.0"></omgdi:waypoint>
- <omgdi:waypoint x="170.0" y="399.0"></omgdi:waypoint>
- <omgdi:waypoint x="170.0" y="207.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="18.0" width="100.0" x="259.0" y="371.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- </bpmndi:BPMNPlane>
- </bpmndi:BPMNDiagram>
- </definitions>
|