add - 新增工人加入项目部的模型 JSON 数据,用来验证前端功能
This commit is contained in:
parent
479bac9053
commit
7053cee99f
@ -534,7 +534,7 @@ public final class BpmnJsonConverterUtil {
|
||||
// String fileName = "/Users/wangli/work/company/yizhi/workflow-engine/workflow-engine-server/src/main" +
|
||||
// "/resources/权限点模型.json";
|
||||
String fileName = "/Users/wangli/work/company/yizhi/workflow-engine/workflow-engine-server/src/main" +
|
||||
"/resources/kaoqing.json";
|
||||
"/resources/ruchang.json";
|
||||
byte[] bytes = Files.readAllBytes(Paths.get(fileName));
|
||||
String content = new String(bytes, StandardCharsets.UTF_8);
|
||||
|
||||
|
||||
264
workflow-engine-server/src/main/resources/ruchang.bpmn20.xml
Normal file
264
workflow-engine-server/src/main/resources/ruchang.bpmn20.xml
Normal file
@ -0,0 +1,264 @@
|
||||
<?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: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/test">
|
||||
<process id="id" name="测试" isExecutable="true" serverVersion="1.2.1"
|
||||
jsonValue="{"children":{"branches":[{"children":{"id":"6","name":"班组处理","parentId":"4","property":{"approvalMethod":"human","approverEmptyHandleType":"autoPassed","approverScope":"projectWorkspace","approverSpecify":"fixedPerson","groupsType":"and","isMultiTask":true,"multiMode":"AND","specifyValue":["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"]},"type":"NODE_TASK"},"id":"4","name":"工人发起","parentId":"1","property":{"defaultBranch":false,"groups":[{"conditions":[{"fieldCode":"type","fieldDataType":"number","operator":"eq"}],"conditionsType":"or"}],"groupsType":"or","isMultiTask":true},"type":"NODE_CONDITION"},{"id":"5","name":"班组发起","parentId":"1","property":{"defaultBranch":true,"groupsType":"and","isMultiTask":true},"type":"NODE_CONDITION"}],"children":{"branches":[{"children":{"id":"10","name":"分包处理","parentId":"7","property":{"approvalMethod":"human","approverEmptyHandleType":"autoPassed","approverScope":"projectWorkspace","approverSpecify":"fixedPerson","groupsType":"and","isMultiTask":true,"multiMode":"AND","specifyValue":["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"]},"type":"NODE_TASK"},"id":"7","name":"需要分包审核","parentId":"3","property":{"defaultBranch":false,"groups":[{"conditions":[{"fieldCode":"type2","fieldDataType":"number","operator":"eq"}],"conditionsType":"or"}],"groupsType":"or","isMultiTask":true},"type":"NODE_CONDITION"},{"id":"8","name":"不需要分包审核","parentId":"3","property":{"defaultBranch":true,"groupsType":"and","isMultiTask":true},"type":"NODE_CONDITION"}],"children":{"id":"9","name":"总包处理","parentId":"3","property":{"approvalMethod":"human","approverEmptyHandleType":"autoPassed","approverScope":"projectWorkspace","approverSpecify":"fixedPerson","groupsType":"and","isMultiTask":true,"multiMode":"AND","specifyValue":["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"]},"type":"NODE_TASK"},"id":"3","name":"排它网关","parentId":"2","type":"NODE_EXCLUSIVE_GATEWAY"},"id":"2","name":"排它网关","parentId":"1","type":"NODE_EXCLUSIVE_GATEWAY"},"id":"1","name":"发起人","parentId":"0","type":"NODE_STARTER"}">
|
||||
<documentation>remark</documentation>
|
||||
<extensionElements>
|
||||
<noticeConfig>
|
||||
<noticeMessageId value="590"></noticeMessageId>
|
||||
<pendingMessageId value="6b2fd313a7e04fcb8d92ca6fa4c675e9"></pendingMessageId>
|
||||
<smsMessageId value="40"></smsMessageId>
|
||||
</noticeConfig>
|
||||
<buttonConfig>
|
||||
<initiator>
|
||||
<button key="BPMN_APPROVE" name="同意" checked="true" order="1" disabled="false"></button>
|
||||
<button key="BPMN_REJECT" name="拒绝" checked="true" order="2" disabled="false"></button>
|
||||
<button key="BPMN_REVOCATION" name="撤回" checked="true" order="3" disabled="false"></button>
|
||||
<button key="BPMN_TRANSFER" name="转交" checked="true" order="4" disabled="false"></button>
|
||||
<button key="BPMN_COUNTERSIGN" name="加签" checked="true" order="5" disabled="false"></button>
|
||||
<button key="BPMN_COMMENT" name="评论" checked="true" order="6" disabled="false"></button>
|
||||
<button key="BPMN_ROLLBACK" name="回退" checked="true" order="7" disabled="false"></button>
|
||||
<button key="BPMN_COPY" name="抄送" checked="true" order="8" disabled="false"></button>
|
||||
</initiator>
|
||||
<current>
|
||||
<button key="BPMN_APPROVE" name="同意" checked="true" order="1" disabled="false"></button>
|
||||
<button key="BPMN_REJECT" name="拒绝" checked="true" order="2" disabled="false"></button>
|
||||
<button key="BPMN_REVOCATION" name="撤回" checked="true" order="3" disabled="false"></button>
|
||||
<button key="BPMN_TRANSFER" name="转交" checked="true" order="4" disabled="false"></button>
|
||||
<button key="BPMN_COUNTERSIGN" name="加签" checked="true" order="5" disabled="false"></button>
|
||||
<button key="BPMN_COMMENT" name="评论" checked="true" order="6" disabled="false"></button>
|
||||
<button key="BPMN_ROLLBACK" name="回退" checked="true" order="7" disabled="false"></button>
|
||||
<button key="BPMN_COPY" name="抄送" checked="true" order="8" disabled="false"></button>
|
||||
</current>
|
||||
<history>
|
||||
<button key="BPMN_APPROVE" name="同意" checked="true" order="1" disabled="false"></button>
|
||||
<button key="BPMN_REJECT" name="拒绝" checked="true" order="2" disabled="false"></button>
|
||||
<button key="BPMN_REVOCATION" name="撤回" checked="true" order="3" disabled="false"></button>
|
||||
<button key="BPMN_TRANSFER" name="转交" checked="true" order="4" disabled="false"></button>
|
||||
<button key="BPMN_COUNTERSIGN" name="加签" checked="true" order="5" disabled="false"></button>
|
||||
<button key="BPMN_COMMENT" name="评论" checked="true" order="6" disabled="false"></button>
|
||||
<button key="BPMN_ROLLBACK" name="回退" checked="true" order="7" disabled="false"></button>
|
||||
<button key="BPMN_COPY" name="抄送" checked="true" order="8" disabled="false"></button>
|
||||
</history>
|
||||
<carbonCopy>
|
||||
<button key="BPMN_APPROVE" name="同意" checked="true" order="1" disabled="false"></button>
|
||||
<button key="BPMN_REJECT" name="拒绝" checked="true" order="2" disabled="false"></button>
|
||||
<button key="BPMN_REVOCATION" name="撤回" checked="true" order="3" disabled="false"></button>
|
||||
<button key="BPMN_TRANSFER" name="转交" checked="true" order="4" disabled="false"></button>
|
||||
<button key="BPMN_COUNTERSIGN" name="加签" checked="true" order="5" disabled="false"></button>
|
||||
<button key="BPMN_COMMENT" name="评论" checked="true" order="6" disabled="false"></button>
|
||||
<button key="BPMN_ROLLBACK" name="回退" checked="true" order="7" disabled="false"></button>
|
||||
<button key="BPMN_COPY" name="抄送" checked="true" order="8" disabled="false"></button>
|
||||
</carbonCopy>
|
||||
</buttonConfig>
|
||||
<fieldConfig>
|
||||
<field type="number" name="价格" code="price"></field>
|
||||
<field type="string" name="标题" code="title"></field>
|
||||
<field type="radio" name="性别" code="age">
|
||||
<option name="男" value="1"></option>
|
||||
<option name="女" value="2"></option>
|
||||
</field>
|
||||
<field type="checkbox" name="颜色" code="color">
|
||||
<option name="红色" value="read"></option>
|
||||
<option name="蓝色" value="blue"></option>
|
||||
<option name="绿色" value="green"></option>
|
||||
</field>
|
||||
</fieldConfig>
|
||||
</extensionElements>
|
||||
<startEvent id="startEventNode"></startEvent>
|
||||
<userTask id="1" name="发起人">
|
||||
<extensionElements>
|
||||
<flowable:taskListener event="all"
|
||||
delegateExpression="${engineTaskEventListener}"></flowable:taskListener>
|
||||
<nodeType><![CDATA[NODE_STARTER]]></nodeType>
|
||||
<jsonValue><![CDATA[{"id":"1","parentId":"0","type":"NODE_STARTER","name":"发起人"}]]></jsonValue>
|
||||
</extensionElements>
|
||||
</userTask>
|
||||
<sequenceFlow id="SequenceFlowId_fbe2efe332dd4c069fbfcea7a610f33b" sourceRef="startEventNode"
|
||||
targetRef="1"></sequenceFlow>
|
||||
<exclusiveGateway id="2" name="排它网关"
|
||||
default="SequenceFlowId_9a7e74aceea042d6bf8159c2bc1dea4d"></exclusiveGateway>
|
||||
<sequenceFlow id="SequenceFlowId_ce80d36369994c8c97271caa19724740" sourceRef="1" targetRef="2"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_e2374f39e7fb4c90a79a7c1f6bc620cd" sourceRef="2" targetRef="6">
|
||||
<conditionExpression xsi:type="tFormalExpression">
|
||||
<![CDATA[${(var:eq('type', null))}]]></conditionExpression>
|
||||
</sequenceFlow>
|
||||
<userTask id="6" name="班组处理" flowable:assignee="${assigneeName}"
|
||||
flowable:skipExpression="${_INTERNAL_SKIP_USER_TASK}">
|
||||
<extensionElements>
|
||||
<flowable:executionListener event="start"
|
||||
delegateExpression="${engineExecutionStartListener}"></flowable:executionListener>
|
||||
<flowable:taskListener event="all"
|
||||
delegateExpression="${engineTaskEventListener}"></flowable:taskListener>
|
||||
<approvalMethod value="human" desc="审批方式"></approvalMethod>
|
||||
<approverScope value="projectWorkspace" desc="审批人所在范围"></approverScope>
|
||||
<approverSpecify value="fixedPerson" desc="审批人指定">
|
||||
<![CDATA[["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"]]]></approverSpecify>
|
||||
<approverModeType value="AND" desc="多人审批时审批模式"></approverModeType>
|
||||
<approverEmptyHandleType value="autoPassed" desc="审批人为空时"></approverEmptyHandleType>
|
||||
<fieldPermission></fieldPermission>
|
||||
<buttonConfig></buttonConfig>
|
||||
<nodeType><![CDATA[NODE_TASK]]></nodeType>
|
||||
<jsonValue>
|
||||
<![CDATA[{"id":"6","parentId":"4","type":"NODE_TASK","name":"班组处理","property":{"approvalMethod":"human","approverScope":"projectWorkspace","approverSpecify":"fixedPerson","specifyValue":["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"],"isMultiTask":true,"multiMode":"AND","approverEmptyHandleType":"autoPassed","groupsType":"and"}}]]></jsonValue>
|
||||
</extensionElements>
|
||||
<multiInstanceLoopCharacteristics isSequential="false" flowable:collection="[_ASSIGNEE_LIST_INFO_]6"
|
||||
flowable:elementVariable="assigneeName">
|
||||
<completionCondition>${nrOfInstances == nrOfCompletedInstances}</completionCondition>
|
||||
</multiInstanceLoopCharacteristics>
|
||||
</userTask>
|
||||
<sequenceFlow id="SequenceFlowId_9a7e74aceea042d6bf8159c2bc1dea4d" sourceRef="2" targetRef="3"></sequenceFlow>
|
||||
<exclusiveGateway id="3" name="排它网关"
|
||||
default="SequenceFlowId_ceb3ff6d9ee34bec9a4578b1f5a81fc8"></exclusiveGateway>
|
||||
<sequenceFlow id="SequenceFlowId_86003ade4a074a9fb4c5e356162abc2a" sourceRef="6" targetRef="3"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_602422aa388246a3814e79900e8db677" sourceRef="3" targetRef="10">
|
||||
<conditionExpression xsi:type="tFormalExpression">
|
||||
<![CDATA[${(var:eq('type2', null))}]]></conditionExpression>
|
||||
</sequenceFlow>
|
||||
<userTask id="10" name="分包处理" flowable:assignee="${assigneeName}"
|
||||
flowable:skipExpression="${_INTERNAL_SKIP_USER_TASK}">
|
||||
<extensionElements>
|
||||
<flowable:executionListener event="start"
|
||||
delegateExpression="${engineExecutionStartListener}"></flowable:executionListener>
|
||||
<flowable:taskListener event="all"
|
||||
delegateExpression="${engineTaskEventListener}"></flowable:taskListener>
|
||||
<approvalMethod value="human" desc="审批方式"></approvalMethod>
|
||||
<approverScope value="projectWorkspace" desc="审批人所在范围"></approverScope>
|
||||
<approverSpecify value="fixedPerson" desc="审批人指定">
|
||||
<![CDATA[["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"]]]></approverSpecify>
|
||||
<approverModeType value="AND" desc="多人审批时审批模式"></approverModeType>
|
||||
<approverEmptyHandleType value="autoPassed" desc="审批人为空时"></approverEmptyHandleType>
|
||||
<fieldPermission></fieldPermission>
|
||||
<buttonConfig></buttonConfig>
|
||||
<nodeType><![CDATA[NODE_TASK]]></nodeType>
|
||||
<jsonValue>
|
||||
<![CDATA[{"id":"10","parentId":"7","type":"NODE_TASK","name":"分包处理","property":{"approvalMethod":"human","approverScope":"projectWorkspace","approverSpecify":"fixedPerson","specifyValue":["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"],"isMultiTask":true,"multiMode":"AND","approverEmptyHandleType":"autoPassed","groupsType":"and"}}]]></jsonValue>
|
||||
</extensionElements>
|
||||
<multiInstanceLoopCharacteristics isSequential="false" flowable:collection="[_ASSIGNEE_LIST_INFO_]10"
|
||||
flowable:elementVariable="assigneeName">
|
||||
<completionCondition>${nrOfInstances == nrOfCompletedInstances}</completionCondition>
|
||||
</multiInstanceLoopCharacteristics>
|
||||
</userTask>
|
||||
<sequenceFlow id="SequenceFlowId_ceb3ff6d9ee34bec9a4578b1f5a81fc8" sourceRef="3" targetRef="9"></sequenceFlow>
|
||||
<userTask id="9" name="总包处理" flowable:assignee="${assigneeName}"
|
||||
flowable:skipExpression="${_INTERNAL_SKIP_USER_TASK}">
|
||||
<extensionElements>
|
||||
<flowable:executionListener event="start"
|
||||
delegateExpression="${engineExecutionStartListener}"></flowable:executionListener>
|
||||
<flowable:taskListener event="all"
|
||||
delegateExpression="${engineTaskEventListener}"></flowable:taskListener>
|
||||
<approvalMethod value="human" desc="审批方式"></approvalMethod>
|
||||
<approverScope value="projectWorkspace" desc="审批人所在范围"></approverScope>
|
||||
<approverSpecify value="fixedPerson" desc="审批人指定">
|
||||
<![CDATA[["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"]]]></approverSpecify>
|
||||
<approverModeType value="AND" desc="多人审批时审批模式"></approverModeType>
|
||||
<approverEmptyHandleType value="autoPassed" desc="审批人为空时"></approverEmptyHandleType>
|
||||
<fieldPermission></fieldPermission>
|
||||
<buttonConfig></buttonConfig>
|
||||
<nodeType><![CDATA[NODE_TASK]]></nodeType>
|
||||
<jsonValue>
|
||||
<![CDATA[{"id":"9","parentId":"3","type":"NODE_TASK","name":"总包处理","property":{"approvalMethod":"human","approverScope":"projectWorkspace","approverSpecify":"fixedPerson","specifyValue":["{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"],"isMultiTask":true,"multiMode":"AND","approverEmptyHandleType":"autoPassed","groupsType":"and"}}]]></jsonValue>
|
||||
</extensionElements>
|
||||
<multiInstanceLoopCharacteristics isSequential="false" flowable:collection="[_ASSIGNEE_LIST_INFO_]9"
|
||||
flowable:elementVariable="assigneeName">
|
||||
<completionCondition>${nrOfInstances == nrOfCompletedInstances}</completionCondition>
|
||||
</multiInstanceLoopCharacteristics>
|
||||
</userTask>
|
||||
<sequenceFlow id="SequenceFlowId_2666f3937f3948448dc9ddf9276d7d46" sourceRef="10" targetRef="9"></sequenceFlow>
|
||||
<endEvent id="endEventNode"></endEvent>
|
||||
<sequenceFlow id="SequenceFlowId_f8b0711b9e0d42c58e7516918e139d1f" sourceRef="9"
|
||||
targetRef="endEventNode"></sequenceFlow>
|
||||
</process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_id">
|
||||
<bpmndi:BPMNPlane bpmnElement="id" id="BPMNPlane_id">
|
||||
<bpmndi:BPMNShape bpmnElement="1" id="BPMNShape_1">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="80.0" y="59.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="2" id="BPMNShape_2">
|
||||
<omgdc:Bounds height="40.0" width="40.0" x="230.0" y="72.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="3" id="BPMNShape_3">
|
||||
<omgdc:Bounds height="40.0" width="40.0" x="470.0" y="60.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="6" id="BPMNShape_6">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="320.0" y="0.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="startEventNode" id="BPMNShape_startEventNode">
|
||||
<omgdc:Bounds height="30.0" width="30.0" x="0.0" y="74.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="9" id="BPMNShape_9">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="710.0" y="36.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="endEventNode" id="BPMNShape_endEventNode">
|
||||
<omgdc:Bounds height="30.0" width="30.0" x="860.0" y="51.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="10" id="BPMNShape_10">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="560.0" y="100.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_2666f3937f3948448dc9ddf9276d7d46"
|
||||
id="BPMNEdge_SequenceFlowId_2666f3937f3948448dc9ddf9276d7d46">
|
||||
<omgdi:waypoint x="660.0" y="130.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="672.0" y="130.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="672.0" y="66.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="710.0" y="66.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_f8b0711b9e0d42c58e7516918e139d1f"
|
||||
id="BPMNEdge_SequenceFlowId_f8b0711b9e0d42c58e7516918e139d1f">
|
||||
<omgdi:waypoint x="810.0" y="66.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="860.0" y="66.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_ceb3ff6d9ee34bec9a4578b1f5a81fc8"
|
||||
id="BPMNEdge_SequenceFlowId_ceb3ff6d9ee34bec9a4578b1f5a81fc8">
|
||||
<omgdi:waypoint x="510.0" y="72.5"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="522.0" y="72.5"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="522.0" y="66.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="710.0" y="66.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_fbe2efe332dd4c069fbfcea7a610f33b"
|
||||
id="BPMNEdge_SequenceFlowId_fbe2efe332dd4c069fbfcea7a610f33b">
|
||||
<omgdi:waypoint x="30.0" y="89.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="80.0" y="89.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_86003ade4a074a9fb4c5e356162abc2a"
|
||||
id="BPMNEdge_SequenceFlowId_86003ade4a074a9fb4c5e356162abc2a">
|
||||
<omgdi:waypoint x="420.0" y="30.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="30.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="80.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="470.0" y="80.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_602422aa388246a3814e79900e8db677"
|
||||
id="BPMNEdge_SequenceFlowId_602422aa388246a3814e79900e8db677">
|
||||
<omgdi:waypoint x="510.0" y="87.5"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="522.0" y="87.5"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="522.0" y="130.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="560.0" y="130.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_e2374f39e7fb4c90a79a7c1f6bc620cd"
|
||||
id="BPMNEdge_SequenceFlowId_e2374f39e7fb4c90a79a7c1f6bc620cd">
|
||||
<omgdi:waypoint x="270.0" y="84.5"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="282.0" y="84.5"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="282.0" y="30.000000000000007"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="320.0" y="30.000000000000007"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_9a7e74aceea042d6bf8159c2bc1dea4d"
|
||||
id="BPMNEdge_SequenceFlowId_9a7e74aceea042d6bf8159c2bc1dea4d">
|
||||
<omgdi:waypoint x="270.0" y="99.5"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="282.0" y="99.5"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="282.0" y="80.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="470.0" y="80.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_ce80d36369994c8c97271caa19724740"
|
||||
id="BPMNEdge_SequenceFlowId_ce80d36369994c8c97271caa19724740">
|
||||
<omgdi:waypoint x="180.0" y="89.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="192.0" y="89.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="192.0" y="92.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="230.0" y="92.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</definitions>
|
||||
424
workflow-engine-server/src/main/resources/ruchang.json
Normal file
424
workflow-engine-server/src/main/resources/ruchang.json
Normal file
@ -0,0 +1,424 @@
|
||||
{
|
||||
"name": "考勤补卡",
|
||||
"description": "极引非东活已运王点越组油门展总想立。年深江亲联热制者条济它部即月。号线信平和者京两马何标这。",
|
||||
"category": "1",
|
||||
"jsonModel": {
|
||||
"noticeConf": {
|
||||
"pendingMessageId": "6b2fd313a7e04fcb8d92ca6fa4c675e9",
|
||||
"noticeMessageId": "590",
|
||||
"smsId": "40"
|
||||
},
|
||||
"buttonConf": {
|
||||
"initiator": [
|
||||
{
|
||||
"order": 1,
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"checked": true,
|
||||
"disabled": false,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"order": 2,
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 3,
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 4,
|
||||
"btnKey": "BPMN_TRANSFER",
|
||||
"btnName": "转交",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 5,
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 6,
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 7,
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 8,
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"carbonCopy": [
|
||||
{
|
||||
"order": 1,
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"checked": true,
|
||||
"disabled": false,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"order": 2,
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 3,
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 4,
|
||||
"btnKey": "BPMN_TRANSFER",
|
||||
"btnName": "转交",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 5,
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 6,
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 7,
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 8,
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"history": [
|
||||
{
|
||||
"order": 1,
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"checked": true,
|
||||
"disabled": false,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"order": 2,
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 3,
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 4,
|
||||
"btnKey": "BPMN_TRANSFER",
|
||||
"btnName": "转交",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 5,
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 6,
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 7,
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 8,
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"current": [
|
||||
{
|
||||
"order": 1,
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"checked": true,
|
||||
"disabled": false,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"order": 2,
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 3,
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 4,
|
||||
"btnKey": "BPMN_TRANSFER",
|
||||
"btnName": "转交",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 5,
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 6,
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 7,
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
},
|
||||
{
|
||||
"order": 8,
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"checked": true,
|
||||
"disabled": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"fieldConf": [
|
||||
{
|
||||
"name": "价格",
|
||||
"code": "price",
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"name": "标题",
|
||||
"code": "title",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "性别",
|
||||
"code": "age",
|
||||
"type": "radio",
|
||||
"options": [
|
||||
{
|
||||
"name": "男",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"name": "女",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "颜色",
|
||||
"code": "color",
|
||||
"type": "checkbox",
|
||||
"options": [
|
||||
{
|
||||
"name": "红色",
|
||||
"value": "read"
|
||||
},
|
||||
{
|
||||
"name": "蓝色",
|
||||
"value": "blue"
|
||||
},
|
||||
{
|
||||
"name": "绿色",
|
||||
"value": "green"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"node": {
|
||||
"id": "1",
|
||||
"parentId": "0",
|
||||
"type": "NODE_STARTER",
|
||||
"name": "发起人",
|
||||
"children": {
|
||||
"id": "2",
|
||||
"parentId": "1",
|
||||
"type": "NODE_EXCLUSIVE_GATEWAY",
|
||||
"name": "排它网关",
|
||||
"children": {
|
||||
"id": "3",
|
||||
"parentId": "2",
|
||||
"type": "NODE_EXCLUSIVE_GATEWAY",
|
||||
"name": "排它网关",
|
||||
"children": {
|
||||
"id": "9",
|
||||
"parentId": "3",
|
||||
"type": "NODE_TASK",
|
||||
"name": "总包处理",
|
||||
"property": {
|
||||
"approvalMethod": "human",
|
||||
"approverScope": "projectWorkspace",
|
||||
"approverSpecify": "fixedPerson",
|
||||
"specifyValue": [
|
||||
"{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"
|
||||
],
|
||||
"multiMode": "AND",
|
||||
"approverEmptyHandleType": "autoPassed"
|
||||
}
|
||||
},
|
||||
"branches": [
|
||||
{
|
||||
"id": "7",
|
||||
"parentId": "3",
|
||||
"type": "NODE_CONDITION",
|
||||
"name": "需要分包审核",
|
||||
"children": {
|
||||
"id": "10",
|
||||
"parentId": "7",
|
||||
"type": "NODE_TASK",
|
||||
"name": "分包处理",
|
||||
"property": {
|
||||
"approvalMethod": "human",
|
||||
"approverScope": "projectWorkspace",
|
||||
"approverSpecify": "fixedPerson",
|
||||
"specifyValue": [
|
||||
"{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"
|
||||
],
|
||||
"multiMode": "AND",
|
||||
"approverEmptyHandleType": "autoPassed"
|
||||
}
|
||||
},
|
||||
"property": {
|
||||
"groups": [
|
||||
{
|
||||
"conditionsType": "or",
|
||||
"conditions": [
|
||||
{
|
||||
"fieldDataType": "number",
|
||||
"fieldCode": "type2",
|
||||
"operator": "eq"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaultBranch": false,
|
||||
"groupsType": "or"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "8",
|
||||
"parentId": "3",
|
||||
"type": "NODE_CONDITION",
|
||||
"name": "不需要分包审核",
|
||||
"property": {
|
||||
"defaultBranch": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"branches": [
|
||||
{
|
||||
"id": "4",
|
||||
"parentId": "1",
|
||||
"type": "NODE_CONDITION",
|
||||
"name": "工人发起",
|
||||
"property": {
|
||||
"groups": [
|
||||
{
|
||||
"conditionsType": "or",
|
||||
"conditions": [
|
||||
{
|
||||
"fieldDataType": "number",
|
||||
"fieldCode": "type",
|
||||
"operator": "eq"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaultBranch": false,
|
||||
"groupsType": "or"
|
||||
},
|
||||
"children": {
|
||||
"id": "6",
|
||||
"parentId": "4",
|
||||
"type": "NODE_TASK",
|
||||
"name": "班组处理",
|
||||
"property": {
|
||||
"approvalMethod": "human",
|
||||
"approverScope": "projectWorkspace",
|
||||
"approverSpecify": "fixedPerson",
|
||||
"specifyValue": [
|
||||
"{\"assignerName\":\"黎炳印\",\"ouId\":\"5140\",\"tenantId\":\"195\",\"personId\":\"80554\",\"assignee\":\"33163\",\"assigneeType\":\"3\"}"
|
||||
],
|
||||
"multiMode": "AND",
|
||||
"approverEmptyHandleType": "autoPassed"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "5",
|
||||
"parentId": "1",
|
||||
"type": "NODE_CONDITION",
|
||||
"name": "班组发起",
|
||||
"property": {
|
||||
"defaultBranch": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,958 +0,0 @@
|
||||
{
|
||||
"key": "new_model",
|
||||
"name": "新模型",
|
||||
"noticeConf": {
|
||||
"pendingMessageId": "41",
|
||||
"noticeMessageId": "64",
|
||||
"smsId": "40"
|
||||
},
|
||||
"description": "极引非东活已运王点越组油门展总想立。年深江亲联热制者条济它部即月。号线信平和者京两马何标这。",
|
||||
"fieldConf": [
|
||||
{
|
||||
"name": "价格",
|
||||
"code": "price",
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"name": "标题",
|
||||
"code": "title",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "性别",
|
||||
"code": "age",
|
||||
"type": "radio",
|
||||
"options": [
|
||||
{
|
||||
"name": "男",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"name": "女",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "颜色",
|
||||
"code": "color",
|
||||
"type": "checkbox",
|
||||
"options": [
|
||||
{
|
||||
"name": "红色",
|
||||
"value": "read"
|
||||
},
|
||||
{
|
||||
"name": "蓝色",
|
||||
"value": "blue"
|
||||
},
|
||||
{
|
||||
"name": "绿色",
|
||||
"value": "green"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"category": "customCategory",
|
||||
"buttonConf": {
|
||||
"initiator": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"carbonCopy": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"history": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"current": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"node": {
|
||||
"id": "1",
|
||||
"parentId": "0",
|
||||
"type": "NODE_STARTER",
|
||||
"name": "发起人",
|
||||
"children": {
|
||||
"id": "2",
|
||||
"parentId": "1",
|
||||
"type": "NODE_TASK",
|
||||
"name": "一级审批",
|
||||
"children": {
|
||||
"id": "3",
|
||||
"parentId": "2",
|
||||
"type": "NODE_EXCLUSIVE_GATEWAY",
|
||||
"name": "排它网关",
|
||||
"children": {
|
||||
"id": "11",
|
||||
"parentId": "3",
|
||||
"type": "NODE_CARBON_COPY",
|
||||
"name": "主流程抄送节点",
|
||||
"children": {
|
||||
"id": "12",
|
||||
"parentId": "11",
|
||||
"type": "NODE_EMPTY",
|
||||
"name": "结束",
|
||||
"children": null,
|
||||
"property": {},
|
||||
"branches": null
|
||||
},
|
||||
"property": null,
|
||||
"branches": null
|
||||
},
|
||||
"branches": [
|
||||
{
|
||||
"id": "4",
|
||||
"parentId": "3",
|
||||
"type": "NODE_CONDITION",
|
||||
"name": "条件1",
|
||||
"property": {
|
||||
"groups": [
|
||||
{
|
||||
"conditionsType": "and",
|
||||
"conditions": [
|
||||
{
|
||||
"fieldDataType": "string",
|
||||
"fieldCode": "title",
|
||||
"operator": "contains",
|
||||
"defaultValue": "测试"
|
||||
},
|
||||
{
|
||||
"fieldDataType": "number",
|
||||
"fieldCode": "price",
|
||||
"operator": "eq",
|
||||
"defaultValue": "2"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaultBranch": false,
|
||||
"groupsType": "and"
|
||||
},
|
||||
"children": {
|
||||
"id": "7",
|
||||
"parentId": "4",
|
||||
"type": "NODE_TASK",
|
||||
"name": "条件1审核节点",
|
||||
"children": {
|
||||
"id": "8",
|
||||
"parentId": "7",
|
||||
"type": "NODE_CARBON_COPY",
|
||||
"name": "条件1抄送节点",
|
||||
"children": null,
|
||||
"property": null,
|
||||
"branches": null
|
||||
},
|
||||
"property": {
|
||||
"approvalMethod": "autoPassed",
|
||||
"approverScope": "entWorkspace",
|
||||
"approverSpecify": "position",
|
||||
"specifyValue": [
|
||||
"job1",
|
||||
"job2"
|
||||
],
|
||||
"isMultiTask": "true",
|
||||
"multiMode": "AND",
|
||||
"approverEmptyHandleType": "autoPassed",
|
||||
"fieldPermission": null,
|
||||
"buttonPermission": {
|
||||
"initiator": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"carbonCopy": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"history": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"current": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"branches": null
|
||||
},
|
||||
"branches": null
|
||||
},
|
||||
{
|
||||
"id": "5",
|
||||
"parentId": "3",
|
||||
"type": "NODE_CONDITION",
|
||||
"name": "条件2",
|
||||
"property": {
|
||||
"groups": [
|
||||
{
|
||||
"conditionsType": "and",
|
||||
"conditions": [
|
||||
{
|
||||
"fieldDataType": "number",
|
||||
"fieldCode": "size",
|
||||
"operator": "between",
|
||||
"leftValue": "31",
|
||||
"leftOperator": "le",
|
||||
"rightValue": "34",
|
||||
"rightOperator": "gt"
|
||||
},
|
||||
{
|
||||
"fieldDataType": "radio",
|
||||
"fieldCode": "sex",
|
||||
"operator": "eq",
|
||||
"defaultValue": "2"
|
||||
},
|
||||
{
|
||||
"fieldDataType": "checkbox",
|
||||
"fieldCode": "color",
|
||||
"operator": "in",
|
||||
"defaultValues": [
|
||||
"red",
|
||||
"blue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaultBranch": false,
|
||||
"groupsType": "and"
|
||||
},
|
||||
"children": {
|
||||
"id": "9",
|
||||
"parentId": "5",
|
||||
"type": "NODE_BUSINESS",
|
||||
"name": "条件2业务节点",
|
||||
"children": {
|
||||
"id": "10",
|
||||
"parentId": "9",
|
||||
"type": "NODE_TASK",
|
||||
"name": "条件2审批节点",
|
||||
"children": {
|
||||
"id": "13",
|
||||
"parentId": "10",
|
||||
"type": "NODE_BUSINESS",
|
||||
"name": "业务节点有审批人",
|
||||
"property": {
|
||||
"approvalMethod": "human",
|
||||
"approverScope": "projectWorkspace",
|
||||
"approverSpecify": "identity",
|
||||
"specifyValue": [
|
||||
"worker",
|
||||
"team_worker"
|
||||
],
|
||||
"isMultiTask": "true",
|
||||
"multiMode": "AND",
|
||||
"approverEmptyHandleType": "transferToAdmin",
|
||||
"fieldPermission": null,
|
||||
"buttonPermission": null
|
||||
},
|
||||
"children": null,
|
||||
"branches": null
|
||||
},
|
||||
"property": {
|
||||
"approvalMethod": "human",
|
||||
"approverScope": "projectWorkspace",
|
||||
"approverSpecify": "position",
|
||||
"specifyValue": [
|
||||
"job1",
|
||||
"job2"
|
||||
],
|
||||
"isMultiTask": "true",
|
||||
"multiMode": "AND",
|
||||
"approverEmptyHandleType": "autoPassed",
|
||||
"fieldPermission": null,
|
||||
"buttonPermission": null
|
||||
},
|
||||
"branches": null
|
||||
},
|
||||
"property": {
|
||||
"approvalMethod": "nobody"
|
||||
},
|
||||
"branches": null
|
||||
},
|
||||
"branches": null
|
||||
},
|
||||
{
|
||||
"id": "6",
|
||||
"parentId": "3",
|
||||
"type": "NODE_CONDITION",
|
||||
"name": "默认条件",
|
||||
"property": {
|
||||
"defaultBranch": true
|
||||
},
|
||||
"children": null,
|
||||
"branches": null
|
||||
}
|
||||
],
|
||||
"property": null
|
||||
},
|
||||
"branches": null,
|
||||
"property": {
|
||||
"approvalMethod": "human",
|
||||
"approverScope": "projectWorkspace",
|
||||
"approverSpecify": "position",
|
||||
"specifyValue": [
|
||||
"job1",
|
||||
"job2"
|
||||
],
|
||||
"isMultiTask": "true",
|
||||
"multiMode": "AND",
|
||||
"approverEmptyHandleType": "transferToAdmin",
|
||||
"fieldPermission": null,
|
||||
"buttonPermission": {
|
||||
"initiator": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"carbonCopy": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"history": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"current": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"branches": null,
|
||||
"property": {
|
||||
"buttonPermission": {
|
||||
"initiator": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"carbonCopy": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"history": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"current": [
|
||||
{
|
||||
"btnKey": "BPMN_APPROVE",
|
||||
"enabled": true,
|
||||
"btnName": "同意"
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REJECT",
|
||||
"btnName": "拒绝",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_REVOCATION",
|
||||
"btnName": "撤回",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_FORWARD",
|
||||
"btnName": "转交",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COUNTERSIGN",
|
||||
"btnName": "加签",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COMMENT",
|
||||
"btnName": "评论",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_ROLLBACK",
|
||||
"btnName": "回退",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"btnKey": "BPMN_COPY",
|
||||
"btnName": "抄送",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"tenantId": "296"
|
||||
}
|
||||
@ -79,9 +79,10 @@
|
||||
<jsonValue><![CDATA[{"id":"1","parentId":"0","type":"NODE_STARTER","name":"发起人"}]]></jsonValue>
|
||||
</extensionElements>
|
||||
</userTask>
|
||||
<sequenceFlow id="SequenceFlowId_e721dbf452d643afba7154fdf795eb72" sourceRef="startEventNode"
|
||||
<sequenceFlow id="SequenceFlowId_2031294b2a1f4fdabf3b8873f74ff753" sourceRef="startEventNode"
|
||||
targetRef="1"></sequenceFlow>
|
||||
<userTask id="2" name="一级审批" flowable:assignee="${assigneeName}">
|
||||
<userTask id="2" name="一级审批" flowable:assignee="${assigneeName}"
|
||||
flowable:skipExpression="${_INTERNAL_SKIP_USER_TASK}">
|
||||
<extensionElements>
|
||||
<flowable:executionListener event="start"
|
||||
delegateExpression="${engineExecutionStartListener}"></flowable:executionListener>
|
||||
@ -144,14 +145,15 @@
|
||||
<completionCondition>${nrOfInstances == nrOfCompletedInstances}</completionCondition>
|
||||
</multiInstanceLoopCharacteristics>
|
||||
</userTask>
|
||||
<sequenceFlow id="SequenceFlowId_83b27ce7536e4dbcbe9dd6d8af8667b3" sourceRef="1" targetRef="2"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_04e0f9be8a444e89bdd15da071045da6" sourceRef="1" targetRef="2"></sequenceFlow>
|
||||
<exclusiveGateway id="3" name="排它网关"
|
||||
default="SequenceFlowId_89087d614fa7401590d9041c1bdb3ebe"></exclusiveGateway>
|
||||
<sequenceFlow id="SequenceFlowId_4a02a22bf6b54a7f837a0fb06a61193b" sourceRef="2" targetRef="3"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_aba96953686348dbb8293b102c9b7070" sourceRef="3" targetRef="7">
|
||||
default="SequenceFlowId_ebd1b92df5e84fa5bb6814221f0136ad"></exclusiveGateway>
|
||||
<sequenceFlow id="SequenceFlowId_819eeec039a4486d84e646612df6274e" sourceRef="2" targetRef="3"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_cbc2db29c882470e90a8eb22b3e7655a" sourceRef="3" targetRef="7">
|
||||
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${(var:eq('price', 2))}]]></conditionExpression>
|
||||
</sequenceFlow>
|
||||
<userTask id="7" name="条件1审核节点" flowable:assignee="${assigneeName}">
|
||||
<userTask id="7" name="条件1审核节点" flowable:assignee="${assigneeName}"
|
||||
flowable:skipExpression="${_INTERNAL_SKIP_USER_TASK}">
|
||||
<extensionElements>
|
||||
<flowable:executionListener event="start"
|
||||
delegateExpression="${engineExecutionStartListener}"></flowable:executionListener>
|
||||
@ -221,8 +223,8 @@
|
||||
<![CDATA[{"id":"8","parentId":"7","type":"NODE_CARBON_COPY","name":"条件1抄送节点"}]]></jsonValue>
|
||||
</extensionElements>
|
||||
</serviceTask>
|
||||
<sequenceFlow id="SequenceFlowId_f46b2f65e266463b8867a965c438b0d7" sourceRef="7" targetRef="8"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_90357ec0de3a44809fdb248811713b46" sourceRef="3" targetRef="9">
|
||||
<sequenceFlow id="SequenceFlowId_74cbc16d2a734bd1a21db88d91b21f00" sourceRef="7" targetRef="8"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_32f0cf13e3d540b9ae829ad9f5d46c1c" sourceRef="3" targetRef="9">
|
||||
<conditionExpression xsi:type="tFormalExpression">
|
||||
<![CDATA[${(var:containsAny('color', 'red','blue'))}]]></conditionExpression>
|
||||
</sequenceFlow>
|
||||
@ -233,7 +235,8 @@
|
||||
<![CDATA[{"id":"9","parentId":"5","type":"NODE_BUSINESS","name":"条件2业务节点","property":{"approvalMethod":"nobody","isMultiTask":true,"groupsType":"and"}}]]></jsonValue>
|
||||
</extensionElements>
|
||||
</receiveTask>
|
||||
<userTask id="10" name="条件2审批节点" flowable:assignee="${assigneeName}">
|
||||
<userTask id="10" name="条件2审批节点" flowable:assignee="${assigneeName}"
|
||||
flowable:skipExpression="${_INTERNAL_SKIP_USER_TASK}">
|
||||
<extensionElements>
|
||||
<flowable:executionListener event="start"
|
||||
delegateExpression="${engineExecutionStartListener}"></flowable:executionListener>
|
||||
@ -255,7 +258,7 @@
|
||||
<completionCondition>${nrOfInstances == nrOfCompletedInstances}</completionCondition>
|
||||
</multiInstanceLoopCharacteristics>
|
||||
</userTask>
|
||||
<sequenceFlow id="SequenceFlowId_ada5bf758dcf4835bee5993a691f8c5c" sourceRef="9" targetRef="10"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_86c9da9098aa4099a41529b709362994" sourceRef="9" targetRef="10"></sequenceFlow>
|
||||
<userTask id="13" name="业务节点有审批人" flowable:assignee="${assigneeName}">
|
||||
<extensionElements>
|
||||
<flowable:executionListener event="start"
|
||||
@ -279,8 +282,8 @@
|
||||
<completionCondition>${nrOfInstances == nrOfCompletedInstances}</completionCondition>
|
||||
</multiInstanceLoopCharacteristics>
|
||||
</userTask>
|
||||
<sequenceFlow id="SequenceFlowId_6d3085b639dc48dd9779862d98b790fb" sourceRef="10" targetRef="13"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_89087d614fa7401590d9041c1bdb3ebe" sourceRef="3" targetRef="11"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_2fd20017788340098782b1a42c85ea47" sourceRef="10" targetRef="13"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_ebd1b92df5e84fa5bb6814221f0136ad" sourceRef="3" targetRef="11"></sequenceFlow>
|
||||
<serviceTask id="11" name="主流程抄送节点">
|
||||
<extensionElements>
|
||||
<nodeType><![CDATA[NODE_CARBON_COPY]]></nodeType>
|
||||
@ -288,120 +291,122 @@
|
||||
<![CDATA[{"id":"11","parentId":"3","type":"NODE_CARBON_COPY","name":"主流程抄送节点"}]]></jsonValue>
|
||||
</extensionElements>
|
||||
</serviceTask>
|
||||
<sequenceFlow id="SequenceFlowId_7d891251ac2d48309e26ae7bee2deb5d" sourceRef="8" targetRef="11"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_90ce4ae10bb446e787ec43e733e96bc6" sourceRef="13" targetRef="11"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_f191ca73f1fe4137b0eed0334192fed8" sourceRef="8" targetRef="11"></sequenceFlow>
|
||||
<sequenceFlow id="SequenceFlowId_fc58612ce3774d2cbc34438f001b6f3f" sourceRef="13" targetRef="11"></sequenceFlow>
|
||||
<endEvent id="endEventNode"></endEvent>
|
||||
<sequenceFlow id="SequenceFlowId_7c3d688d6df34f07991300d32dc3e140" sourceRef="11"
|
||||
<sequenceFlow id="SequenceFlowId_a444f14fb9ba4186a97e024162d7ea99" sourceRef="11"
|
||||
targetRef="endEventNode"></sequenceFlow>
|
||||
</process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_id">
|
||||
<bpmndi:BPMNPlane bpmnElement="id" id="BPMNPlane_id">
|
||||
<bpmndi:BPMNShape bpmnElement="11" id="BPMNShape_11">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="920.0" y="158.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="920.0" y="101.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="1" id="BPMNShape_1">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="80.0" y="130.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="80.0" y="108.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="2" id="BPMNShape_2">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="230.0" y="130.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="230.0" y="106.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="13" id="BPMNShape_13">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="770.0" y="30.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="770.0" y="230.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="3" id="BPMNShape_3">
|
||||
<omgdc:Bounds height="40.0" width="40.0" x="380.0" y="140.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="40.0" width="40.0" x="380.0" y="112.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="startEventNode" id="BPMNShape_startEventNode">
|
||||
<omgdc:Bounds height="30.0" width="30.0" x="0.0" y="145.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="30.0" width="30.0" x="0.0" y="123.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="7" id="BPMNShape_7">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="470.0" y="260.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="470.0" y="100.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="8" id="BPMNShape_8">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="620.0" y="260.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="620.0" y="100.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="9" id="BPMNShape_9">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="470.0" y="0.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="470.0" y="260.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="endEventNode" id="BPMNShape_endEventNode">
|
||||
<omgdc:Bounds height="30.0" width="30.0" x="1070.0" y="173.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="30.0" width="30.0" x="1070.0" y="116.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="10" id="BPMNShape_10">
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="620.0" y="0.0"></omgdc:Bounds>
|
||||
<omgdc:Bounds height="60.0" width="100.0" x="620.0" y="260.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_90357ec0de3a44809fdb248811713b46"
|
||||
id="BPMNEdge_SequenceFlowId_90357ec0de3a44809fdb248811713b46">
|
||||
<omgdi:waypoint x="420.0" y="150.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="150.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="30.000000000000007"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="470.0" y="30.000000000000007"></omgdi:waypoint>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_74cbc16d2a734bd1a21db88d91b21f00"
|
||||
id="BPMNEdge_SequenceFlowId_74cbc16d2a734bd1a21db88d91b21f00">
|
||||
<omgdi:waypoint x="570.0" y="130.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="620.0" y="130.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_7d891251ac2d48309e26ae7bee2deb5d"
|
||||
id="BPMNEdge_SequenceFlowId_7d891251ac2d48309e26ae7bee2deb5d">
|
||||
<omgdi:waypoint x="720.0" y="290.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="732.0" y="290.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="732.0" y="188.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="920.0" y="188.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_89087d614fa7401590d9041c1bdb3ebe"
|
||||
id="BPMNEdge_SequenceFlowId_89087d614fa7401590d9041c1bdb3ebe">
|
||||
<omgdi:waypoint x="420.0" y="160.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="434.0" y="160.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="434.0" y="188.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="920.0" y="188.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_aba96953686348dbb8293b102c9b7070"
|
||||
id="BPMNEdge_SequenceFlowId_aba96953686348dbb8293b102c9b7070">
|
||||
<omgdi:waypoint x="420.0" y="170.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="170.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="290.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="470.0" y="290.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_6d3085b639dc48dd9779862d98b790fb"
|
||||
id="BPMNEdge_SequenceFlowId_6d3085b639dc48dd9779862d98b790fb">
|
||||
<omgdi:waypoint x="720.0" y="30.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="732.0" y="30.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="732.0" y="60.00000000000001"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="770.0" y="60.00000000000001"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_7c3d688d6df34f07991300d32dc3e140"
|
||||
id="BPMNEdge_SequenceFlowId_7c3d688d6df34f07991300d32dc3e140">
|
||||
<omgdi:waypoint x="1020.0" y="188.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="1070.0" y="188.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_f46b2f65e266463b8867a965c438b0d7"
|
||||
id="BPMNEdge_SequenceFlowId_f46b2f65e266463b8867a965c438b0d7">
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_86c9da9098aa4099a41529b709362994"
|
||||
id="BPMNEdge_SequenceFlowId_86c9da9098aa4099a41529b709362994">
|
||||
<omgdi:waypoint x="570.0" y="290.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="620.0" y="290.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_83b27ce7536e4dbcbe9dd6d8af8667b3"
|
||||
id="BPMNEdge_SequenceFlowId_83b27ce7536e4dbcbe9dd6d8af8667b3">
|
||||
<omgdi:waypoint x="180.0" y="160.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="230.0" y="160.0"></omgdi:waypoint>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_ebd1b92df5e84fa5bb6814221f0136ad"
|
||||
id="BPMNEdge_SequenceFlowId_ebd1b92df5e84fa5bb6814221f0136ad">
|
||||
<omgdi:waypoint x="420.0" y="122.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="122.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="131.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="920.0" y="131.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_4a02a22bf6b54a7f837a0fb06a61193b"
|
||||
id="BPMNEdge_SequenceFlowId_4a02a22bf6b54a7f837a0fb06a61193b">
|
||||
<omgdi:waypoint x="330.0" y="160.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="380.0" y="160.0"></omgdi:waypoint>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_2fd20017788340098782b1a42c85ea47"
|
||||
id="BPMNEdge_SequenceFlowId_2fd20017788340098782b1a42c85ea47">
|
||||
<omgdi:waypoint x="720.0" y="290.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="732.0" y="290.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="732.0" y="260.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="770.0" y="260.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_e721dbf452d643afba7154fdf795eb72"
|
||||
id="BPMNEdge_SequenceFlowId_e721dbf452d643afba7154fdf795eb72">
|
||||
<omgdi:waypoint x="30.0" y="160.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="80.0" y="160.0"></omgdi:waypoint>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_fc58612ce3774d2cbc34438f001b6f3f"
|
||||
id="BPMNEdge_SequenceFlowId_fc58612ce3774d2cbc34438f001b6f3f">
|
||||
<omgdi:waypoint x="870.0" y="260.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="882.0" y="260.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="882.0" y="131.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="920.0" y="131.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_90ce4ae10bb446e787ec43e733e96bc6"
|
||||
id="BPMNEdge_SequenceFlowId_90ce4ae10bb446e787ec43e733e96bc6">
|
||||
<omgdi:waypoint x="870.0" y="60.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="882.0" y="60.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="882.0" y="188.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="920.0" y="188.0"></omgdi:waypoint>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_819eeec039a4486d84e646612df6274e"
|
||||
id="BPMNEdge_SequenceFlowId_819eeec039a4486d84e646612df6274e">
|
||||
<omgdi:waypoint x="330.0" y="136.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="342.0" y="136.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="342.0" y="132.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="380.0" y="132.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_ada5bf758dcf4835bee5993a691f8c5c"
|
||||
id="BPMNEdge_SequenceFlowId_ada5bf758dcf4835bee5993a691f8c5c">
|
||||
<omgdi:waypoint x="570.0" y="30.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="582.0" y="30.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="582.0" y="30.000000000000007"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="620.0" y="30.000000000000007"></omgdi:waypoint>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_cbc2db29c882470e90a8eb22b3e7655a"
|
||||
id="BPMNEdge_SequenceFlowId_cbc2db29c882470e90a8eb22b3e7655a">
|
||||
<omgdi:waypoint x="420.0" y="132.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="434.0" y="132.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="434.0" y="130.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="470.0" y="130.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_32f0cf13e3d540b9ae829ad9f5d46c1c"
|
||||
id="BPMNEdge_SequenceFlowId_32f0cf13e3d540b9ae829ad9f5d46c1c">
|
||||
<omgdi:waypoint x="420.0" y="142.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="142.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="432.0" y="290.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="470.0" y="290.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_04e0f9be8a444e89bdd15da071045da6"
|
||||
id="BPMNEdge_SequenceFlowId_04e0f9be8a444e89bdd15da071045da6">
|
||||
<omgdi:waypoint x="180.0" y="138.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="192.0" y="138.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="192.0" y="136.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="230.0" y="136.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_f191ca73f1fe4137b0eed0334192fed8"
|
||||
id="BPMNEdge_SequenceFlowId_f191ca73f1fe4137b0eed0334192fed8">
|
||||
<omgdi:waypoint x="720.0" y="130.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="732.0" y="130.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="732.0" y="131.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="920.0" y="131.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_a444f14fb9ba4186a97e024162d7ea99"
|
||||
id="BPMNEdge_SequenceFlowId_a444f14fb9ba4186a97e024162d7ea99">
|
||||
<omgdi:waypoint x="1020.0" y="131.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="1070.0" y="131.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlowId_2031294b2a1f4fdabf3b8873f74ff753"
|
||||
id="BPMNEdge_SequenceFlowId_2031294b2a1f4fdabf3b8873f74ff753">
|
||||
<omgdi:waypoint x="30.0" y="138.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="80.0" y="138.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user