|
@@ -1,84 +0,0 @@
|
|
|
-<?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="MerchantRegistedFlow" name="B类客户注册流程v1.0" isExecutable="true">
|
|
|
- <startEvent id="startmerchant" name="Start" activiti:initiator="initiator"></startEvent>
|
|
|
- <userTask id="createMerchant" name="创建B端客户" activiti:assignee="${operator}"></userTask>
|
|
|
- <sequenceFlow id="flow1" sourceRef="startmerchant" targetRef="createMerchant"></sequenceFlow>
|
|
|
- <userTask id="approveMerchant" name="审核B端客户" activiti:candidateGroups="aduiter"></userTask>
|
|
|
- <exclusiveGateway id="exclusiveapprove" name="Exclusive Gateway"></exclusiveGateway>
|
|
|
- <serviceTask id="saveMerchant" name="保存B端客户数据到数据库" activiti:class="com.fpx.workflow.merchantregister.workflowservice.SaveMerchantServiceImpl"></serviceTask>
|
|
|
- <endEvent id="endmerchant" name="End"></endEvent>
|
|
|
- <sequenceFlow id="flow6" name="通过" sourceRef="exclusiveapprove" targetRef="saveMerchant">
|
|
|
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approval == "backward-completed"}]]></conditionExpression>
|
|
|
- </sequenceFlow>
|
|
|
- <sequenceFlow id="flow7" sourceRef="createMerchant" targetRef="approveMerchant"></sequenceFlow>
|
|
|
- <sequenceFlow id="flow8" sourceRef="approveMerchant" targetRef="exclusiveapprove"></sequenceFlow>
|
|
|
- <sequenceFlow id="flow9" sourceRef="saveMerchant" targetRef="endmerchant"></sequenceFlow>
|
|
|
- <serviceTask id="changeStatus" name="修改状态" activiti:class="com.fpx.workflow.merchantregister.workflowservice.ChangeStatusServiceImpl"></serviceTask>
|
|
|
- <sequenceFlow id="flow10" name="不通过" sourceRef="exclusiveapprove" targetRef="changeStatus">
|
|
|
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approval == "backward-back"}]]></conditionExpression>
|
|
|
- </sequenceFlow>
|
|
|
- <sequenceFlow id="flow11" sourceRef="changeStatus" targetRef="createMerchant"></sequenceFlow>
|
|
|
- </process>
|
|
|
- <bpmndi:BPMNDiagram id="BPMNDiagram_MerchantRegistedFlow">
|
|
|
- <bpmndi:BPMNPlane bpmnElement="MerchantRegistedFlow" id="BPMNPlane_MerchantRegistedFlow">
|
|
|
- <bpmndi:BPMNShape bpmnElement="startmerchant" id="BPMNShape_startmerchant">
|
|
|
- <omgdc:Bounds height="35.0" width="35.0" x="390.0" y="10.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape bpmnElement="createMerchant" id="BPMNShape_createMerchant">
|
|
|
- <omgdc:Bounds height="55.0" width="105.0" x="355.0" y="130.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape bpmnElement="approveMerchant" id="BPMNShape_approveMerchant">
|
|
|
- <omgdc:Bounds height="55.0" width="105.0" x="355.0" y="250.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape bpmnElement="exclusiveapprove" id="BPMNShape_exclusiveapprove">
|
|
|
- <omgdc:Bounds height="40.0" width="40.0" x="387.0" y="370.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape bpmnElement="saveMerchant" id="BPMNShape_saveMerchant">
|
|
|
- <omgdc:Bounds height="71.0" width="105.0" x="355.0" y="460.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape bpmnElement="endmerchant" id="BPMNShape_endmerchant">
|
|
|
- <omgdc:Bounds height="35.0" width="35.0" x="390.0" y="580.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape bpmnElement="changeStatus" id="BPMNShape_changeStatus">
|
|
|
- <omgdc:Bounds height="55.0" width="105.0" x="540.0" y="250.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
|
|
|
- <omgdi:waypoint x="407.0" y="45.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="407.0" y="130.0"></omgdi:waypoint>
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
|
|
|
- <omgdi:waypoint x="407.0" y="410.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="407.0" y="460.0"></omgdi:waypoint>
|
|
|
- <bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="24.0" x="420.0" y="419.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNLabel>
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
|
|
|
- <omgdi:waypoint x="407.0" y="185.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="407.0" y="250.0"></omgdi:waypoint>
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
|
|
|
- <omgdi:waypoint x="407.0" y="305.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="407.0" y="370.0"></omgdi:waypoint>
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
|
|
|
- <omgdi:waypoint x="407.0" y="531.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="407.0" y="580.0"></omgdi:waypoint>
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
|
|
|
- <omgdi:waypoint x="427.0" y="390.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="592.0" y="389.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="592.0" y="305.0"></omgdi:waypoint>
|
|
|
- <bpmndi:BPMNLabel>
|
|
|
- <omgdc:Bounds height="14.0" width="36.0" x="479.0" y="398.0"></omgdc:Bounds>
|
|
|
- </bpmndi:BPMNLabel>
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
|
|
|
- <omgdi:waypoint x="592.0" y="250.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="592.0" y="158.0"></omgdi:waypoint>
|
|
|
- <omgdi:waypoint x="460.0" y="157.0"></omgdi:waypoint>
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- </bpmndi:BPMNPlane>
|
|
|
- </bpmndi:BPMNDiagram>
|
|
|
-</definitions>
|