Created
March 26, 2019 15:42
-
-
Save strongme/9ab9933680e45de1a25199aa6599b71e to your computer and use it in GitHub Desktop.
flowable bpmn change state test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:flowable="http://flowable.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.flowable.org/processdef"> | |
<process id="test-rollback" name="测试撤回功能" isExecutable="true"> | |
<startEvent id="start" name="开始"></startEvent> | |
<userTask id="startMeeting" name="发起会议"></userTask> | |
<sequenceFlow id="sid-09F754DD-80A3-4A65-8CC7-9AF7118E78E9" sourceRef="start" targetRef="startMeeting"></sequenceFlow> | |
<userTask id="submitOpinion" name="发表意见" flowable:assignee="${assignee}"> | |
<extensionElements> | |
<flowable:taskListener event="complete" class="com.bettem.mp.flowable.SubmitOpinionListener"></flowable:taskListener> | |
<modeler:initiator-can-complete xmlns:modeler="http://flowable.org/modeler"><![CDATA[false]]></modeler:initiator-can-complete> | |
</extensionElements> | |
<multiInstanceLoopCharacteristics isSequential="false" flowable:collection="${userList}" flowable:elementVariable="assignee"></multiInstanceLoopCharacteristics> | |
</userTask> | |
<sequenceFlow id="sid-7770BA70-3574-440C-9782-7811FB5A3B28" sourceRef="startMeeting" targetRef="submitOpinion"></sequenceFlow> | |
<serviceTask id="autoDecide" name="自动判定会议意见结果" flowable:class="com.bettem.mp.flowable.AutoDecideMeeting"></serviceTask> | |
<sequenceFlow id="sid-445C2BC1-DBAC-47CE-B7C5-03164FD31C61" sourceRef="submitOpinion" targetRef="autoDecide"></sequenceFlow> | |
<endEvent id="end" name="结束"></endEvent> | |
<exclusiveGateway id="sid-5D645E68-3987-4C5A-8B55-C6B03D40D230"></exclusiveGateway> | |
<sequenceFlow id="sid-6B39F057-13B9-4135-A9B2-0D715BDEF48F" sourceRef="autoDecide" targetRef="sid-5D645E68-3987-4C5A-8B55-C6B03D40D230"></sequenceFlow> | |
<sequenceFlow id="sid-1296B9B1-974D-4CB5-9785-1A4E4D3F1841" sourceRef="sid-5D645E68-3987-4C5A-8B55-C6B03D40D230" targetRef="startMeeting"> | |
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${approveCode=='01'}]]></conditionExpression> | |
</sequenceFlow> | |
<sequenceFlow id="sid-198C225A-EB64-42CA-B33A-70E342DBADA9" sourceRef="sid-5D645E68-3987-4C5A-8B55-C6B03D40D230" targetRef="end"> | |
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${approveCode=='00'}]]></conditionExpression> | |
</sequenceFlow> | |
</process> | |
<bpmndi:BPMNDiagram id="BPMNDiagram_test-rollback"> | |
<bpmndi:BPMNPlane bpmnElement="test-rollback" id="BPMNPlane_test-rollback"> | |
<bpmndi:BPMNShape bpmnElement="start" id="BPMNShape_start"> | |
<omgdc:Bounds height="30.0" width="30.0" x="100.0" y="163.0"></omgdc:Bounds> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape bpmnElement="startMeeting" id="BPMNShape_startMeeting"> | |
<omgdc:Bounds height="80.0" width="100.0" x="255.0" y="138.0"></omgdc:Bounds> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape bpmnElement="submitOpinion" id="BPMNShape_submitOpinion"> | |
<omgdc:Bounds height="80.0" width="100.0" x="450.0" y="138.0"></omgdc:Bounds> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape bpmnElement="autoDecide" id="BPMNShape_autoDecide"> | |
<omgdc:Bounds height="80.0" width="100.0" x="660.0" y="138.0"></omgdc:Bounds> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape bpmnElement="end" id="BPMNShape_end"> | |
<omgdc:Bounds height="28.0" width="28.0" x="990.0" y="164.0"></omgdc:Bounds> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape bpmnElement="sid-5D645E68-3987-4C5A-8B55-C6B03D40D230" id="BPMNShape_sid-5D645E68-3987-4C5A-8B55-C6B03D40D230"> | |
<omgdc:Bounds height="40.0" width="40.0" x="825.0" y="158.0"></omgdc:Bounds> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNEdge bpmnElement="sid-1296B9B1-974D-4CB5-9785-1A4E4D3F1841" id="BPMNEdge_sid-1296B9B1-974D-4CB5-9785-1A4E4D3F1841"> | |
<omgdi:waypoint x="845.5" y="158.5"></omgdi:waypoint> | |
<omgdi:waypoint x="845.5" y="74.0"></omgdi:waypoint> | |
<omgdi:waypoint x="305.0" y="74.0"></omgdi:waypoint> | |
<omgdi:waypoint x="305.0" y="138.0"></omgdi:waypoint> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge bpmnElement="sid-7770BA70-3574-440C-9782-7811FB5A3B28" id="BPMNEdge_sid-7770BA70-3574-440C-9782-7811FB5A3B28"> | |
<omgdi:waypoint x="354.94999999986936" y="178.0"></omgdi:waypoint> | |
<omgdi:waypoint x="449.9999999999363" y="178.0"></omgdi:waypoint> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge bpmnElement="sid-6B39F057-13B9-4135-A9B2-0D715BDEF48F" id="BPMNEdge_sid-6B39F057-13B9-4135-A9B2-0D715BDEF48F"> | |
<omgdi:waypoint x="759.9499999999992" y="178.18431734317343"></omgdi:waypoint> | |
<omgdi:waypoint x="825.4259259259254" y="178.42592592592592"></omgdi:waypoint> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge bpmnElement="sid-198C225A-EB64-42CA-B33A-70E342DBADA9" id="BPMNEdge_sid-198C225A-EB64-42CA-B33A-70E342DBADA9"> | |
<omgdi:waypoint x="864.5039373814042" y="178.43987341772157"></omgdi:waypoint> | |
<omgdi:waypoint x="990.0000670136327" y="178.0440062513792"></omgdi:waypoint> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge bpmnElement="sid-09F754DD-80A3-4A65-8CC7-9AF7118E78E9" id="BPMNEdge_sid-09F754DD-80A3-4A65-8CC7-9AF7118E78E9"> | |
<omgdi:waypoint x="129.94999949366624" y="178.0"></omgdi:waypoint> | |
<omgdi:waypoint x="254.99999999993574" y="178.0"></omgdi:waypoint> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge bpmnElement="sid-445C2BC1-DBAC-47CE-B7C5-03164FD31C61" id="BPMNEdge_sid-445C2BC1-DBAC-47CE-B7C5-03164FD31C61"> | |
<omgdi:waypoint x="549.9499999999504" y="178.0"></omgdi:waypoint> | |
<omgdi:waypoint x="659.999999999997" y="178.0"></omgdi:waypoint> | |
</bpmndi:BPMNEdge> | |
</bpmndi:BPMNPlane> | |
</bpmndi:BPMNDiagram> | |
</definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment