1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?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="maintenance" name="设备维修审批流程" isExecutable="true">
- <startEvent id="startmaintenance" name="开始" activiti:initiator="${applyUserId}"></startEvent>
- <userTask id="wxjlTask" name="装置维修经理" activiti:assignee="#{wxjlusers}"></userTask>
- <endEvent id="endmaintenance" name="End"></endEvent>
- <sequenceFlow id="flow1" sourceRef="startmaintenance" targetRef="wxjlTask"></sequenceFlow>
- <sequenceFlow id="flow2" name="通过" sourceRef="wxjlTask" targetRef="endmaintenance">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
- </sequenceFlow>
- <endEvent id="endmaintenance2" name="End"></endEvent>
- <sequenceFlow id="flow3" name="不通过" sourceRef="wxjlTask" targetRef="endmaintenance2">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
- </sequenceFlow>
- </process>
- <bpmndi:BPMNDiagram id="BPMNDiagram_maintenance">
- <bpmndi:BPMNPlane bpmnElement="maintenance" id="BPMNPlane_maintenance">
- <bpmndi:BPMNShape bpmnElement="startmaintenance" id="BPMNShape_startmaintenance">
- <omgdc:Bounds height="35.0" width="35.0" x="70.0" y="60.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="wxjlTask" id="BPMNShape_wxjlTask">
- <omgdc:Bounds height="55.0" width="105.0" x="170.0" y="50.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="endmaintenance" id="BPMNShape_endmaintenance">
- <omgdc:Bounds height="35.0" width="35.0" x="340.0" y="60.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="endmaintenance2" id="BPMNShape_endmaintenance2">
- <omgdc:Bounds height="35.0" width="35.0" x="205.0" y="140.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
- <omgdi:waypoint x="105.0" y="77.0"></omgdi:waypoint>
- <omgdi:waypoint x="170.0" y="77.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
- <omgdi:waypoint x="275.0" y="77.0"></omgdi:waypoint>
- <omgdi:waypoint x="340.0" y="77.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="100.0" x="289.0" y="79.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
- <omgdi:waypoint x="222.0" y="105.0"></omgdi:waypoint>
- <omgdi:waypoint x="222.0" y="140.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="16.0" width="48.0" x="227.0" y="109.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- </bpmndi:BPMNPlane>
- </bpmndi:BPMNDiagram>
- </definitions>
|