123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <?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: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="whzyfzsq-city1" name="gateway测试" isExecutable="true">
- <startEvent id="start" name="Start" activiti:initiator="applyUserId"></startEvent>
- <userTask id="tb" name="wf.tb" activiti:assignee="${applyUserId}">
- <extensionElements>
- <activiti:taskListener event="create" delegateExpression="${taskVarBean}">
- <activiti:field name="varName">
- <activiti:string>var_autoComplete</activiti:string>
- </activiti:field>
- <activiti:field name="varValue">
- <activiti:string>true</activiti:string>
- </activiti:field>
- </activiti:taskListener>
- </extensionElements>
- </userTask>
- <sequenceFlow id="flow2" sourceRef="start" targetRef="tb"></sequenceFlow>
- <userTask id="xssc" name="wf.xssc" activiti:candidateGroups="${role_xssc}"></userTask>
- <sequenceFlow id="flow3" sourceRef="tb" targetRef="xssc"></sequenceFlow>
- <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
- <sequenceFlow id="flow4" sourceRef="xssc" targetRef="exclusivegateway1"></sequenceFlow>
- <sequenceFlow id="flow5" name="不通过" sourceRef="exclusivegateway1" targetRef="tb">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_xssc}]]></conditionExpression>
- </sequenceFlow>
- <parallelGateway id="parallelgateway1" name="Parallel Gateway"></parallelGateway>
- <userTask id="sc1" name="wf.sc" activiti:candidateGroups="${role_sc2}"></userTask>
- <sequenceFlow id="flow6" sourceRef="parallelgateway1" targetRef="sc1"></sequenceFlow>
- <sequenceFlow id="flow7" name="通过" sourceRef="exclusivegateway1" targetRef="parallelgateway1">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_xssc}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="sc2" name="wf.sc" activiti:candidateGroups="${role_sc1}"></userTask>
- <sequenceFlow id="flow8" sourceRef="parallelgateway1" targetRef="sc2"></sequenceFlow>
- <parallelGateway id="parallelgateway3" name="Parallel Gateway"></parallelGateway>
- <sequenceFlow id="flow11" sourceRef="sc1" targetRef="parallelgateway3"></sequenceFlow>
- <sequenceFlow id="flow12" sourceRef="sc2" targetRef="parallelgateway3"></sequenceFlow>
- <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
- <sequenceFlow id="flow13" sourceRef="parallelgateway3" targetRef="exclusivegateway2"></sequenceFlow>
- <userTask id="sh" name="wf.sh" activiti:candidateGroups="${role_sh}"></userTask>
- <sequenceFlow id="flow14" name="通过" sourceRef="exclusivegateway2" targetRef="sh">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sc1&&auditPass_sc2}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow15" name="不通过" sourceRef="exclusivegateway2" targetRef="tb">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sc1||!auditPass_sc2}]]></conditionExpression>
- </sequenceFlow>
- <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>
- <sequenceFlow id="flow16" sourceRef="sh" targetRef="exclusivegateway3"></sequenceFlow>
- <sequenceFlow id="flow17" name="不通过" sourceRef="exclusivegateway3" targetRef="tb">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sh}]]></conditionExpression>
- </sequenceFlow>
- <userTask id="pz" name="wf.pz" activiti:candidateGroups="${role_pz}"></userTask>
- <sequenceFlow id="flow18" name="通过" sourceRef="exclusivegateway3" targetRef="pz">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sh}]]></conditionExpression>
- </sequenceFlow>
- <endEvent id="endevent1" name="End"></endEvent>
- <sequenceFlow id="flow19" sourceRef="pz" targetRef="endevent1"></sequenceFlow>
- </process>
- <bpmndi:BPMNDiagram id="BPMNDiagram_whzyfzsq-city1">
- <bpmndi:BPMNPlane bpmnElement="whzyfzsq-city1" id="BPMNPlane_whzyfzsq-city1">
- <bpmndi:BPMNShape bpmnElement="start" id="BPMNShape_start">
- <omgdc:Bounds height="35.0" width="35.0" x="60.0" y="170.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="tb" id="BPMNShape_tb">
- <omgdc:Bounds height="55.0" width="105.0" x="110.0" y="160.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="xssc" id="BPMNShape_xssc">
- <omgdc:Bounds height="55.0" width="105.0" x="230.0" y="160.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
- <omgdc:Bounds height="40.0" width="40.0" x="262.0" y="277.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="parallelgateway1" id="BPMNShape_parallelgateway1">
- <omgdc:Bounds height="40.0" width="40.0" x="330.0" y="277.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="sc1" id="BPMNShape_sc1">
- <omgdc:Bounds height="55.0" width="105.0" x="385.0" y="305.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="sc2" id="BPMNShape_sc2">
- <omgdc:Bounds height="55.0" width="105.0" x="385.0" y="223.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="parallelgateway3" id="BPMNShape_parallelgateway3">
- <omgdc:Bounds height="40.0" width="40.0" x="500.0" y="277.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
- <omgdc:Bounds height="40.0" width="40.0" x="526.0" y="167.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="sh" id="BPMNShape_sh">
- <omgdc:Bounds height="55.0" width="105.0" x="594.0" y="160.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">
- <omgdc:Bounds height="40.0" width="40.0" x="626.0" y="277.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="pz" id="BPMNShape_pz">
- <omgdc:Bounds height="55.0" width="105.0" x="698.0" y="270.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
- <omgdc:Bounds height="35.0" width="35.0" x="831.0" y="280.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
- <omgdi:waypoint x="95.0" y="187.0"></omgdi:waypoint>
- <omgdi:waypoint x="110.0" y="187.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
- <omgdi:waypoint x="215.0" y="187.0"></omgdi:waypoint>
- <omgdi:waypoint x="230.0" y="187.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
- <omgdi:waypoint x="282.0" y="215.0"></omgdi:waypoint>
- <omgdi:waypoint x="282.0" y="277.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
- <omgdi:waypoint x="262.0" y="297.0"></omgdi:waypoint>
- <omgdi:waypoint x="162.0" y="296.0"></omgdi:waypoint>
- <omgdi:waypoint x="162.0" y="215.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="14.0" width="36.0" x="4.0" y="-19.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
- <omgdi:waypoint x="350.0" y="317.0"></omgdi:waypoint>
- <omgdi:waypoint x="350.0" y="332.0"></omgdi:waypoint>
- <omgdi:waypoint x="385.0" y="332.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
- <omgdi:waypoint x="302.0" y="297.0"></omgdi:waypoint>
- <omgdi:waypoint x="330.0" y="297.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="14.0" width="24.0" x="-16.0" y="-20.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
- <omgdi:waypoint x="350.0" y="277.0"></omgdi:waypoint>
- <omgdi:waypoint x="350.0" y="249.0"></omgdi:waypoint>
- <omgdi:waypoint x="385.0" y="250.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
- <omgdi:waypoint x="490.0" y="332.0"></omgdi:waypoint>
- <omgdi:waypoint x="520.0" y="332.0"></omgdi:waypoint>
- <omgdi:waypoint x="520.0" y="317.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
- <omgdi:waypoint x="490.0" y="250.0"></omgdi:waypoint>
- <omgdi:waypoint x="520.0" y="250.0"></omgdi:waypoint>
- <omgdi:waypoint x="520.0" y="277.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
- <omgdi:waypoint x="540.0" y="297.0"></omgdi:waypoint>
- <omgdi:waypoint x="545.0" y="294.0"></omgdi:waypoint>
- <omgdi:waypoint x="546.0" y="207.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
- <omgdi:waypoint x="566.0" y="187.0"></omgdi:waypoint>
- <omgdi:waypoint x="594.0" y="187.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="14.0" width="24.0" x="-14.0" y="7.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
- <omgdi:waypoint x="546.0" y="167.0"></omgdi:waypoint>
- <omgdi:waypoint x="546.0" y="124.0"></omgdi:waypoint>
- <omgdi:waypoint x="162.0" y="124.0"></omgdi:waypoint>
- <omgdi:waypoint x="162.0" y="160.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="14.0" width="36.0" x="-19.0" y="-16.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
- <omgdi:waypoint x="646.0" y="215.0"></omgdi:waypoint>
- <omgdi:waypoint x="646.0" y="277.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
- <omgdi:waypoint x="646.0" y="317.0"></omgdi:waypoint>
- <omgdi:waypoint x="645.0" y="384.0"></omgdi:waypoint>
- <omgdi:waypoint x="162.0" y="384.0"></omgdi:waypoint>
- <omgdi:waypoint x="162.0" y="215.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="14.0" width="36.0" x="-29.0" y="6.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
- <omgdi:waypoint x="666.0" y="297.0"></omgdi:waypoint>
- <omgdi:waypoint x="698.0" y="297.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="14.0" width="24.0" x="-16.0" y="8.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow19" id="BPMNEdge_flow19">
- <omgdi:waypoint x="803.0" y="297.0"></omgdi:waypoint>
- <omgdi:waypoint x="831.0" y="297.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- </bpmndi:BPMNPlane>
- </bpmndi:BPMNDiagram>
- </definitions>
|