mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 05:38:06 +00:00
User: alex@sartography.com deleted process model file manage-procurement/procurement/requisition-order-management/raise-new-demand-request/waku-message.bpmn
This commit is contained in:
parent
07faaafb51
commit
dbce05711c
@ -1,154 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.6.0">
|
||||
<bpmn:process id="Waku_Messages_Message-Raise_New_Demand_Request" name="Waku Messages: Message-Raise New Demand Request" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0056x0e</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:businessRuleTask id="Activity_0xuhps4" name="Get Waku Message Body">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Body</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0056x0e</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0vmjtgx</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
<bpmn:businessRuleTask id="Activity_1pstq0l" name="Get Waku Message Variables">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Variables</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0vmjtgx</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1503oql</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
<bpmn:endEvent id="Event_0hgb9d6">
|
||||
<bpmn:incoming>Flow_1b2tmcm</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1b2tmcm" sourceRef="Activity_1ll59ee" targetRef="Event_0hgb9d6" />
|
||||
<bpmn:scriptTask id="Activity_1ll59ee" name="Set Message" scriptFormat="python">
|
||||
<bpmn:incoming>Flow_1unrusm</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1b2tmcm</bpmn:outgoing>
|
||||
<bpmn:script># Set Message
|
||||
waku_message = waku_message_body + waku_message_timestamp + waku_message_variables + waku_message_footer</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0056x0e" sourceRef="StartEvent_1" targetRef="Activity_0xuhps4" />
|
||||
<bpmn:sequenceFlow id="Flow_0vmjtgx" sourceRef="Activity_0xuhps4" targetRef="Activity_1pstq0l" />
|
||||
<bpmn:sequenceFlow id="Flow_1503oql" sourceRef="Activity_1pstq0l" targetRef="Call_Shared_Waku_Messages_Global" />
|
||||
<bpmn:callActivity id="Call_Shared_Waku_Messages_Global" name="Call Shared: Waku Messages Global" calledElement="Shared_Waku_Messages_Global">
|
||||
<bpmn:incoming>Flow_1503oql</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1fj1y80</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_1fj1y80" sourceRef="Call_Shared_Waku_Messages_Global" targetRef="Activity_0luqrao" />
|
||||
<bpmn:sequenceFlow id="Flow_1unrusm" sourceRef="Activity_0luqrao" targetRef="Activity_1ll59ee" />
|
||||
<bpmn:scriptTask id="Activity_0luqrao" name="Set Variables">
|
||||
<bpmn:incoming>Flow_1fj1y80</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1unrusm</bpmn:outgoing>
|
||||
<bpmn:script># Set variables based on DMN table
|
||||
|
||||
# Initialize variables
|
||||
waku_message_variables = ""
|
||||
wm_var_cnt = 0
|
||||
|
||||
if is_wmv_project:
|
||||
waku_message_variables = waku_message_variables + "Project placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1
|
||||
|
||||
if is_wmv_category:
|
||||
if wm_var_cnt > 0:
|
||||
waku_message_variables + "\n"
|
||||
waku_message_variables = waku_message_variables + "Category placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1
|
||||
|
||||
if is_wmv_sub_category:
|
||||
if wm_var_cnt > 0:
|
||||
waku_message_variables + "\n"
|
||||
waku_message_variables = waku_message_variables + "Sub-Category placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1
|
||||
|
||||
if is_wmv_amount:
|
||||
if wm_var_cnt > 0:
|
||||
waku_message_variables + "\n"
|
||||
waku_message_variables = waku_message_variables + "Amount placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1
|
||||
|
||||
if is_wmv_criticality:
|
||||
if wm_var_cnt > 0:
|
||||
waku_message_variables + "\n"
|
||||
waku_message_variables = waku_message_variables + "Criticality placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1
|
||||
|
||||
if is_wmv_status:
|
||||
if wm_var_cnt > 0:
|
||||
waku_message_variables + "\n"
|
||||
waku_message_variables = waku_message_variables + "Status placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1
|
||||
|
||||
if is_wmv_comment:
|
||||
if wm_var_cnt > 0:
|
||||
waku_message_variables + "\n"
|
||||
waku_message_variables = waku_message_variables + "Comment placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1
|
||||
|
||||
if is_wmv_requestor:
|
||||
if wm_var_cnt > 0:
|
||||
waku_message_variables + "\n"
|
||||
waku_message_variables = waku_message_variables + "Requestor placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1
|
||||
|
||||
if is_wmv_reason:
|
||||
if wm_var_cnt > 0:
|
||||
waku_message_variables + "\n"
|
||||
waku_message_variables = waku_message_variables + "Reason placeholder"
|
||||
wm_var_cnt = wm_var_cnt + 1</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Waku_Messages_Message-Raise_New_Demand_Request">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="152" y="102" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0vm75gb_di" bpmnElement="Activity_0xuhps4">
|
||||
<dc:Bounds x="250" y="80" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1soux7h_di" bpmnElement="Activity_1pstq0l">
|
||||
<dc:Bounds x="410" y="80" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0hgb9d6_di" bpmnElement="Event_0hgb9d6">
|
||||
<dc:Bounds x="1102" y="102" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1h667no_di" bpmnElement="Activity_1ll59ee">
|
||||
<dc:Bounds x="920" y="80" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1ulftcx_di" bpmnElement="Call_Shared_Waku_Messages_Global">
|
||||
<dc:Bounds x="570" y="80" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0sesns1_di" bpmnElement="Activity_0luqrao">
|
||||
<dc:Bounds x="740" y="80" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1b2tmcm_di" bpmnElement="Flow_1b2tmcm">
|
||||
<di:waypoint x="1020" y="120" />
|
||||
<di:waypoint x="1102" y="120" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0056x0e_di" bpmnElement="Flow_0056x0e">
|
||||
<di:waypoint x="188" y="120" />
|
||||
<di:waypoint x="250" y="120" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0vmjtgx_di" bpmnElement="Flow_0vmjtgx">
|
||||
<di:waypoint x="350" y="120" />
|
||||
<di:waypoint x="410" y="120" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1503oql_di" bpmnElement="Flow_1503oql">
|
||||
<di:waypoint x="510" y="120" />
|
||||
<di:waypoint x="570" y="120" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1fj1y80_di" bpmnElement="Flow_1fj1y80">
|
||||
<di:waypoint x="670" y="120" />
|
||||
<di:waypoint x="740" y="120" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1unrusm_di" bpmnElement="Flow_1unrusm">
|
||||
<di:waypoint x="840" y="120" />
|
||||
<di:waypoint x="920" y="120" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
Loading…
x
Reference in New Issue
Block a user