|
@@ -0,0 +1,132 @@
|
|
|
|
+<?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="GdykdxPaperApprove" name="GdykdxPaperApprove" isExecutable="true">
|
|
|
|
+ <startEvent id="startevent1" name="Start"></startEvent>
|
|
|
|
+ <userTask id="usertask1" name="提交试卷" activiti:assignee="${approveId}"></userTask>
|
|
|
|
+ <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow>
|
|
|
|
+ <userTask id="usertask2" name="审核试卷">
|
|
|
|
+ <extensionElements>
|
|
|
|
+ <activiti:taskListener event="create" class="com.qmth.distributed.print.business.activiti.DirectorApproveListener"></activiti:taskListener>
|
|
|
|
+ </extensionElements>
|
|
|
|
+ </userTask>
|
|
|
|
+ <sequenceFlow id="flow2" sourceRef="usertask1" targetRef="usertask2"></sequenceFlow>
|
|
|
|
+ <endEvent id="endevent1" name="End"></endEvent>
|
|
|
|
+ <exclusiveGateway id="exclusivegateway1" name="审批"></exclusiveGateway>
|
|
|
|
+ <sequenceFlow id="flow3" sourceRef="usertask2" targetRef="exclusivegateway1"></sequenceFlow>
|
|
|
|
+ <userTask id="usertask3" name="审核试卷">
|
|
|
|
+ <extensionElements>
|
|
|
|
+ <activiti:taskListener event="create" class="com.qmth.distributed.print.business.activiti.PresidentApproveListener"></activiti:taskListener>
|
|
|
|
+ </extensionElements>
|
|
|
|
+ </userTask>
|
|
|
|
+ <sequenceFlow id="flow4" name="通过" sourceRef="exclusivegateway1" targetRef="usertask3">
|
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve == 1}]]></conditionExpression>
|
|
|
|
+ </sequenceFlow>
|
|
|
|
+ <sequenceFlow id="flow5" name="驳回" sourceRef="exclusivegateway1" targetRef="usertask1">
|
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve == 0}]]></conditionExpression>
|
|
|
|
+ </sequenceFlow>
|
|
|
|
+ <exclusiveGateway id="exclusivegateway2" name="审批"></exclusiveGateway>
|
|
|
|
+ <sequenceFlow id="flow6" sourceRef="usertask3" targetRef="exclusivegateway2"></sequenceFlow>
|
|
|
|
+ <sequenceFlow id="flow8" name="驳回" sourceRef="exclusivegateway2" targetRef="usertask2">
|
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve == 1}]]></conditionExpression>
|
|
|
|
+ </sequenceFlow>
|
|
|
|
+ <sequenceFlow id="flow9" name="驳回" sourceRef="exclusivegateway2" targetRef="usertask1">
|
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve == 0}]]></conditionExpression>
|
|
|
|
+ </sequenceFlow>
|
|
|
|
+ <callActivity id="GdykdxPrintSubActivity" name="印刷员审核子流程" calledElement="GdykdxPaperSubPrintApprove">
|
|
|
|
+ <extensionElements>
|
|
|
|
+ <activiti:in source="approveId" target="approveId"></activiti:in>
|
|
|
|
+ </extensionElements>
|
|
|
|
+ </callActivity>
|
|
|
|
+ <sequenceFlow id="flow10" name="通过" sourceRef="exclusivegateway2" targetRef="GdykdxPrintSubActivity">
|
|
|
|
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approve == 2}]]></conditionExpression>
|
|
|
|
+ </sequenceFlow>
|
|
|
|
+ <sequenceFlow id="flow11" sourceRef="GdykdxPrintSubActivity" targetRef="endevent1"></sequenceFlow>
|
|
|
|
+ </process>
|
|
|
|
+ <bpmndi:BPMNDiagram id="BPMNDiagram_GdykdxPaperApprove">
|
|
|
|
+ <bpmndi:BPMNPlane bpmnElement="GdykdxPaperApprove" id="BPMNPlane_GdykdxPaperApprove">
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
|
|
|
|
+ <omgdc:Bounds height="35.0" width="35.0" x="43.0" y="46.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
|
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="151.0" y="36.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
|
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="350.0" y="36.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
|
|
|
|
+ <omgdc:Bounds height="35.0" width="35.0" x="385.0" y="490.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
|
|
|
|
+ <omgdc:Bounds height="40.0" width="40.0" x="382.0" y="110.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3">
|
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="350.0" y="190.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
|
|
|
|
+ <omgdc:Bounds height="40.0" width="40.0" x="382.0" y="300.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape bpmnElement="GdykdxPrintSubActivity" id="BPMNShape_GdykdxPrintSubActivity">
|
|
|
|
+ <omgdc:Bounds height="55.0" width="105.0" x="350.0" y="390.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
|
|
|
|
+ <omgdi:waypoint x="78.0" y="63.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="151.0" y="63.0"></omgdi:waypoint>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
|
|
|
|
+ <omgdi:waypoint x="256.0" y="63.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="350.0" y="63.0"></omgdi:waypoint>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
|
|
|
|
+ <omgdi:waypoint x="402.0" y="91.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="402.0" y="110.0"></omgdi:waypoint>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
|
|
|
|
+ <omgdi:waypoint x="402.0" y="150.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="402.0" y="190.0"></omgdi:waypoint>
|
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
|
+ <omgdc:Bounds height="16.0" width="22.0" x="402.0" y="150.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
|
|
|
|
+ <omgdi:waypoint x="382.0" y="130.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="203.0" y="130.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="203.0" y="91.0"></omgdi:waypoint>
|
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
|
+ <omgdc:Bounds height="16.0" width="22.0" x="382.0" y="130.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
|
|
|
|
+ <omgdi:waypoint x="402.0" y="245.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="402.0" y="300.0"></omgdi:waypoint>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
|
|
|
|
+ <omgdi:waypoint x="422.0" y="320.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="546.0" y="319.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="546.0" y="63.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="455.0" y="63.0"></omgdi:waypoint>
|
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
|
+ <omgdc:Bounds height="16.0" width="22.0" x="422.0" y="320.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
|
|
|
|
+ <omgdi:waypoint x="382.0" y="320.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="203.0" y="321.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="203.0" y="91.0"></omgdi:waypoint>
|
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
|
+ <omgdc:Bounds height="16.0" width="22.0" x="382.0" y="320.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
|
|
|
|
+ <omgdi:waypoint x="402.0" y="340.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="402.0" y="390.0"></omgdi:waypoint>
|
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
|
+ <omgdc:Bounds height="16.0" width="22.0" x="402.0" y="340.0"></omgdc:Bounds>
|
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
|
|
|
|
+ <omgdi:waypoint x="402.0" y="445.0"></omgdi:waypoint>
|
|
|
|
+ <omgdi:waypoint x="402.0" y="490.0"></omgdi:waypoint>
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
|
+ </bpmndi:BPMNPlane>
|
|
|
|
+ </bpmndi:BPMNDiagram>
|
|
|
|
+</definitions>
|