discount_checkout_notify.bpmn.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. 折扣/优惠结账通知流程 BPMN 定义(备份文件)
  4. 此文件为流程设计参考备份,实际部署由代码 DiscountCheckoutFlowBpmn.java 在运行时
  5. 通过 FlowClient.createModel() + FlowClient.deployModel() 自动完成。
  6. 如需在流程设计器中导入,可复制此文件内容粘贴到 BPMN 编辑器。
  7. 流程结构:开始 → 老板通知(只读查看) → 结束
  8. 纯通知型,无需老板审核操作,记录永久保存。
  9. -->
  10. <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  11. xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
  12. xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
  13. xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
  14. xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
  15. xmlns:flowable="http://flowable.org/bpmn"
  16. id="Definitions_discount_checkout_notify"
  17. targetNamespace="http://forge.mdframe.com/bpmn">
  18. <bpmn:process id="discount_checkout_notify" name="折扣/优惠结账通知流程" isExecutable="true">
  19. <bpmn:startEvent id="StartEvent_1" name="折扣/优惠结账" flowable:initiator="initiator">
  20. <bpmn:outgoing>Flow_001</bpmn:outgoing>
  21. </bpmn:startEvent>
  22. <bpmn:userTask id="boss_notify" name="老板通知"
  23. flowable:candidateGroups="jjt-zhgly"
  24. flowable:candidateGroupNames="景聚庭-租户管理员"
  25. flowable:formKey="discount_checkout_notify_form"
  26. flowable:formFieldPermissions='[{"field":"bossRemark","label":"老板查看备注","readable":true,"writable":true,"required":false}]'
  27. flowable:allowApprove="false"
  28. flowable:allowReject="false"
  29. flowable:allowDelegate="false"
  30. flowable:allowReturn="false"
  31. flowable:allowTerminate="false"
  32. flowable:requireComment="false">
  33. <bpmn:incoming>Flow_001</bpmn:incoming>
  34. <bpmn:outgoing>Flow_002</bpmn:outgoing>
  35. </bpmn:userTask>
  36. <bpmn:endEvent id="EndEvent_notified" name="通知完成">
  37. <bpmn:incoming>Flow_002</bpmn:incoming>
  38. </bpmn:endEvent>
  39. <bpmn:sequenceFlow id="Flow_001" sourceRef="StartEvent_1" targetRef="boss_notify" />
  40. <bpmn:sequenceFlow id="Flow_002" sourceRef="boss_notify" targetRef="EndEvent_notified" />
  41. </bpmn:process>
  42. <bpmndi:BPMNDiagram id="BPMNDiagram_discount_checkout_notify">
  43. <bpmndi:BPMNPlane id="BPMNPlane_discount_checkout_notify" bpmnElement="discount_checkout_notify">
  44. <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1"><dc:Bounds x="80" y="192" width="36" height="36" /></bpmndi:BPMNShape>
  45. <bpmndi:BPMNShape id="boss_notify_di" bpmnElement="boss_notify"><dc:Bounds x="220" y="170" width="140" height="80" /></bpmndi:BPMNShape>
  46. <bpmndi:BPMNShape id="EndEvent_notified_di" bpmnElement="EndEvent_notified"><dc:Bounds x="460" y="192" width="36" height="36" /></bpmndi:BPMNShape>
  47. <bpmndi:BPMNEdge id="Flow_001_di" bpmnElement="Flow_001"><di:waypoint x="116" y="210" /><di:waypoint x="220" y="210" /></bpmndi:BPMNEdge>
  48. <bpmndi:BPMNEdge id="Flow_002_di" bpmnElement="Flow_002"><di:waypoint x="360" y="210" /><di:waypoint x="460" y="210" /></bpmndi:BPMNEdge>
  49. </bpmndi:BPMNPlane>
  50. </bpmndi:BPMNDiagram>
  51. </bpmn:definitions>