Newer
Older
casic-smartcity / casic-web / src / test / resources / test.bpmn
lwh on 16 May 2022 3 KB feat:
<?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="test" name="协同流程" isExecutable="true">
    <documentation>协同流程测试</documentation>
    <startEvent id="startevent1" name="受理"></startEvent>
    <userTask id="usertask6" name="部长审核" activiti:candidateGroups="commander"></userTask>
    <endEvent id="endevent1" name="结束">
      <extensionElements>
        <activiti:executionListener event="start" class="com.casic.missiles.modular.flowable.handler.ProcessEndExecutionListener"></activiti:executionListener>
      </extensionElements>
    </endEvent>
    <userTask id="usertask7" name="提出申请" activiti:candidateGroups="dispatcher"></userTask>
    <sequenceFlow id="flow34" name="协同申请(6)" sourceRef="startevent1" targetRef="usertask7">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${caseState=='66'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flow35" sourceRef="usertask7" targetRef="usertask6">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${caseState=='77'}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flow36" sourceRef="usertask6" targetRef="endevent1">
      <documentation>部长审核</documentation>
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${caseState=='88'}]]></conditionExpression>
    </sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_test">
    <bpmndi:BPMNPlane bpmnElement="test" id="BPMNPlane_test">
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="80.0" y="122.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="usertask6" id="BPMNShape_usertask6">
        <omgdc:Bounds height="55.0" width="105.0" x="620.0" y="112.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="1071.0" y="122.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="usertask7" id="BPMNShape_usertask7">
        <omgdc:Bounds height="55.0" width="105.0" x="372.0" y="112.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow34" id="BPMNEdge_flow34">
        <omgdi:waypoint x="115.0" y="139.0"></omgdi:waypoint>
        <omgdi:waypoint x="372.0" y="139.0"></omgdi:waypoint>
        <bpmndi:BPMNLabel>
          <omgdc:Bounds height="14.0" width="100.0" x="176.0" y="139.0"></omgdc:Bounds>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow35" id="BPMNEdge_flow35">
        <omgdi:waypoint x="477.0" y="139.0"></omgdi:waypoint>
        <omgdi:waypoint x="620.0" y="139.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow36" id="BPMNEdge_flow36">
        <omgdi:waypoint x="725.0" y="139.0"></omgdi:waypoint>
        <omgdi:waypoint x="1071.0" y="139.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>