From 5d2ebda537155838eda7e706af70a0d4ee403b05 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Fri, 31 Jan 2025 14:59:37 +0100
Subject: [PATCH] Update sample model 0004

---
 docs/library/simple/switch_case_default.md    |  15 +-
 .../bpmn_io-eca_lib_0004.tar.gz               |   4 +-
 .../bpmn_io-eca_lib_0004.xml                  | 264 ++++++++++++------
 3 files changed, 194 insertions(+), 89 deletions(-)

diff --git a/docs/library/simple/switch_case_default.md b/docs/library/simple/switch_case_default.md
index 0fb9a25d..0ba41700 100644
--- a/docs/library/simple/switch_case_default.md
+++ b/docs/library/simple/switch_case_default.md
@@ -1,6 +1,6 @@
 ---
 title: ECA Library - Switch Case Default
-version: v1
+version: v2
 tags:
 - bpmn
 - library
@@ -12,7 +12,7 @@ tags:
 ---
 # Switch Case Default
 
-Version v1
+Version v2
 
 <script>url='bpmn_io-eca_lib_0004.xml';archive='bpmn_io-eca_lib_0004.tar.gz'</script>
 {!include/library/viewer.html!}
@@ -50,11 +50,14 @@ switch ($field_select) {
 }
 ```
 
+Important note: after the action &quot;Set default Status to 2&quot;, ECA first checks the conditions of ALL successors; only then does it execute the actions that follow for those conditions that return TRUE. That&#039;s why the &quot;no condition&quot; link has no condition, as we want to execute that path in any case, but not before the top two paths had a chance to change the status. Therefore the condition, if the status is still 2, happens with a delay, i.e. really after everything else has been completed.
+
 ## Dependencies
 
 - config
     - node.type.article
 - module
+    - eca_base
     - eca_content
 
 ## Used plugins
@@ -66,15 +69,21 @@ switch ($field_select) {
 ### Conditions
 
 - [Entity: compare field value](/plugins/eca/content/conditions/eca_entity_field_value.md)
+- [Compare two scalar values](/plugins/eca/base/conditions/eca_scalar.md)
 
 ### Actions
 
 - [Set Status to 3](/plugins/eca/content/actions/eca_set_field_value.md)
 - [Set Status to 4](/plugins/eca/content/actions/eca_set_field_value.md)
-- [Set default Status](/plugins/eca/content/actions/eca_set_field_value.md)
+- [Set default Status to 2](/plugins/eca/content/actions/eca_set_field_value.md)
+- [Message containing status value](/plugins/core/actions/action_message_action.md)
 
 ## Changelog
 
 `v1`
 
 :   Initial version
+
+`v2`
+
+:   Add the &quot;no condition&quot; for the default value
diff --git a/docs/library/simple/switch_case_default/bpmn_io-eca_lib_0004.tar.gz b/docs/library/simple/switch_case_default/bpmn_io-eca_lib_0004.tar.gz
index d9fb12d9..0640d7e5 100644
--- a/docs/library/simple/switch_case_default/bpmn_io-eca_lib_0004.tar.gz
+++ b/docs/library/simple/switch_case_default/bpmn_io-eca_lib_0004.tar.gz
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:c584a7001ead27c08affd655dcd13c071294ecc0f6bd3d0308484d449a8c218a
-size 2656
+oid sha256:68aef5f2faef7ca5d839e46f791f6c527cee7851d9ec5b35304c263777f4ff3e
+size 3561
diff --git a/docs/library/simple/switch_case_default/bpmn_io-eca_lib_0004.xml b/docs/library/simple/switch_case_default/bpmn_io-eca_lib_0004.xml
index f6bfa5c5..3ac2a95d 100644
--- a/docs/library/simple/switch_case_default/bpmn_io-eca_lib_0004.xml
+++ b/docs/library/simple/switch_case_default/bpmn_io-eca_lib_0004.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:qa="http://some-company/schema/bpmn/qa" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
-  <bpmn2:process id="eca_lib_0004" name="Switch Case Default" isExecutable="true" camunda:versionTag="v1">
+  <bpmn2:process id="eca_lib_0004" name="Switch Case Default" isExecutable="true" camunda:versionTag="v2">
     <bpmn2:documentation>Demonstrate how typical switch-case PHP constructors could be simulated in ECA models - similar to if-elsif-else statements.
 
 The model is similar to what you would normally do in PHP like this:
@@ -24,17 +24,19 @@ switch ($field_select) {
     $field_status = 2;
 }
 ```
-</bpmn2:documentation>
+
+Important note: after the action "Set default Status to 2", ECA first checks the conditions of ALL successors; only then does it execute the actions that follow for those conditions that return TRUE. That's why the "no condition" link has no condition, as we want to execute that path in any case, but not before the top two paths had a chance to change the status. Therefore the condition, if the status is still 2, happens with a delay, i.e. really after everything else has been completed.</bpmn2:documentation>
     <bpmn2:extensionElements>
       <camunda:properties>
-        <camunda:property name="Tags" value="simple,switch-case-default,if-elsif-else,PHP,programming"/>
-        <camunda:property name="Changelog v1" value="Initial version"/>
+        <camunda:property name="Tags" value="simple,switch-case-default,if-elsif-else,PHP,programming" />
+        <camunda:property name="Changelog v1" value="Initial version" />
+        <camunda:property name="Changelog v2" value="Add the &#34;no condition&#34; for the default value" />
       </camunda:properties>
     </bpmn2:extensionElements>
     <bpmn2:startEvent id="Event_082luue" name="Presave article" camunda:modelerTemplate="org.drupal.event.content_entity:presave">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="content_entity:presave"/>
+          <camunda:property name="pluginid" value="content_entity:presave" />
         </camunda:properties>
         <camunda:field name="type">
           <camunda:string>node article</camunda:string>
@@ -45,39 +47,40 @@ switch ($field_select) {
     <bpmn2:task id="Activity_0yz4n6i" name="Set Status to 3" camunda:modelerTemplate="org.drupal.action.eca_set_field_value">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_set_field_value"/>
+          <camunda:property name="pluginid" value="eca_set_field_value" />
         </camunda:properties>
         <camunda:field name="method">
           <camunda:string>set:clear</camunda:string>
         </camunda:field>
         <camunda:field name="strip_tags">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="trim">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="field_name">
           <camunda:string>field_status</camunda:string>
         </camunda:field>
         <camunda:field name="save_entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="field_value">
           <camunda:string>3</camunda:string>
         </camunda:field>
         <camunda:field name="object">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
       <bpmn2:incoming>Flow_1jpugw8</bpmn2:incoming>
       <bpmn2:incoming>Flow_0ti9bxh</bpmn2:incoming>
       <bpmn2:incoming>Flow_01kgpwh</bpmn2:incoming>
       <bpmn2:incoming>Flow_08ravmy</bpmn2:incoming>
+      <bpmn2:outgoing>Flow_1qj2m9t</bpmn2:outgoing>
     </bpmn2:task>
     <bpmn2:sequenceFlow id="Flow_1jpugw8" name="a3" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0yz4n6i">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_entity_field_value"/>
+          <camunda:property name="pluginid" value="eca_entity_field_value" />
         </camunda:properties>
         <camunda:field name="field_name">
           <camunda:string>field_select</camunda:string>
@@ -92,20 +95,20 @@ switch ($field_select) {
           <camunda:string>value</camunda:string>
         </camunda:field>
         <camunda:field name="case">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="negate">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
     </bpmn2:sequenceFlow>
     <bpmn2:sequenceFlow id="Flow_0ti9bxh" name="a2" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0yz4n6i">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_entity_field_value"/>
+          <camunda:property name="pluginid" value="eca_entity_field_value" />
         </camunda:properties>
         <camunda:field name="field_name">
           <camunda:string>field_select</camunda:string>
@@ -120,20 +123,20 @@ switch ($field_select) {
           <camunda:string>value</camunda:string>
         </camunda:field>
         <camunda:field name="case">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="negate">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
     </bpmn2:sequenceFlow>
     <bpmn2:sequenceFlow id="Flow_01kgpwh" name="a1" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0yz4n6i">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_entity_field_value"/>
+          <camunda:property name="pluginid" value="eca_entity_field_value" />
         </camunda:properties>
         <camunda:field name="field_name">
           <camunda:string>field_select</camunda:string>
@@ -148,20 +151,20 @@ switch ($field_select) {
           <camunda:string>value</camunda:string>
         </camunda:field>
         <camunda:field name="case">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="negate">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
     </bpmn2:sequenceFlow>
     <bpmn2:sequenceFlow id="Flow_08ravmy" name="c7" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0yz4n6i">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_entity_field_value"/>
+          <camunda:property name="pluginid" value="eca_entity_field_value" />
         </camunda:properties>
         <camunda:field name="field_name">
           <camunda:string>field_select</camunda:string>
@@ -176,50 +179,51 @@ switch ($field_select) {
           <camunda:string>value</camunda:string>
         </camunda:field>
         <camunda:field name="case">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="negate">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
     </bpmn2:sequenceFlow>
     <bpmn2:task id="Activity_0anrk10" name="Set Status to 4" camunda:modelerTemplate="org.drupal.action.eca_set_field_value">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_set_field_value"/>
+          <camunda:property name="pluginid" value="eca_set_field_value" />
         </camunda:properties>
         <camunda:field name="method">
           <camunda:string>set:clear</camunda:string>
         </camunda:field>
         <camunda:field name="strip_tags">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="trim">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="field_name">
           <camunda:string>field_status</camunda:string>
         </camunda:field>
         <camunda:field name="save_entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="field_value">
           <camunda:string>4</camunda:string>
         </camunda:field>
         <camunda:field name="object">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
       <bpmn2:incoming>Flow_0nrihfy</bpmn2:incoming>
       <bpmn2:incoming>Flow_0usiojw</bpmn2:incoming>
+      <bpmn2:outgoing>Flow_1ivplmo</bpmn2:outgoing>
     </bpmn2:task>
     <bpmn2:sequenceFlow id="Flow_0nrihfy" name="b1" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0anrk10">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_entity_field_value"/>
+          <camunda:property name="pluginid" value="eca_entity_field_value" />
         </camunda:properties>
         <camunda:field name="field_name">
           <camunda:string>field_select</camunda:string>
@@ -234,20 +238,20 @@ switch ($field_select) {
           <camunda:string>value</camunda:string>
         </camunda:field>
         <camunda:field name="case">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="negate">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
     </bpmn2:sequenceFlow>
     <bpmn2:sequenceFlow id="Flow_0usiojw" name="b2" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0anrk10">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_entity_field_value"/>
+          <camunda:property name="pluginid" value="eca_entity_field_value" />
         </camunda:properties>
         <camunda:field name="field_name">
           <camunda:string>field_select</camunda:string>
@@ -262,41 +266,41 @@ switch ($field_select) {
           <camunda:string>value</camunda:string>
         </camunda:field>
         <camunda:field name="case">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="negate">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
     </bpmn2:sequenceFlow>
-    <bpmn2:task id="Activity_1x79dx8" name="Set default Status" camunda:modelerTemplate="org.drupal.action.eca_set_field_value">
+    <bpmn2:task id="Activity_1x79dx8" name="Set default Status to 2" camunda:modelerTemplate="org.drupal.action.eca_set_field_value">
       <bpmn2:extensionElements>
         <camunda:properties>
-          <camunda:property name="pluginid" value="eca_set_field_value"/>
+          <camunda:property name="pluginid" value="eca_set_field_value" />
         </camunda:properties>
         <camunda:field name="method">
           <camunda:string>set:clear</camunda:string>
         </camunda:field>
         <camunda:field name="strip_tags">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="trim">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="field_name">
           <camunda:string>field_status</camunda:string>
         </camunda:field>
         <camunda:field name="save_entity">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
         <camunda:field name="field_value">
           <camunda:string>2</camunda:string>
         </camunda:field>
         <camunda:field name="object">
-          <camunda:string/>
+          <camunda:string></camunda:string>
         </camunda:field>
       </bpmn2:extensionElements>
       <bpmn2:incoming>Flow_080ikau</bpmn2:incoming>
@@ -306,84 +310,176 @@ switch ($field_select) {
       <bpmn2:outgoing>Flow_08ravmy</bpmn2:outgoing>
       <bpmn2:outgoing>Flow_0nrihfy</bpmn2:outgoing>
       <bpmn2:outgoing>Flow_0usiojw</bpmn2:outgoing>
+      <bpmn2:outgoing>Flow_1tvob5w</bpmn2:outgoing>
+    </bpmn2:task>
+    <bpmn2:sequenceFlow id="Flow_080ikau" sourceRef="Event_082luue" targetRef="Activity_1x79dx8" />
+    <bpmn2:exclusiveGateway id="Gateway_1evw12f">
+      <bpmn2:incoming>Flow_1tvob5w</bpmn2:incoming>
+      <bpmn2:outgoing>Flow_1uz5icy</bpmn2:outgoing>
+    </bpmn2:exclusiveGateway>
+    <bpmn2:sequenceFlow id="Flow_1tvob5w" sourceRef="Activity_1x79dx8" targetRef="Gateway_1evw12f" />
+    <bpmn2:exclusiveGateway id="Gateway_03nqgco">
+      <bpmn2:incoming>Flow_1uz5icy</bpmn2:incoming>
+      <bpmn2:outgoing>Flow_08n8ctu</bpmn2:outgoing>
+    </bpmn2:exclusiveGateway>
+    <bpmn2:sequenceFlow id="Flow_1uz5icy" name="status = 2?" camunda:modelerTemplate="org.drupal.condition.eca_scalar" sourceRef="Gateway_1evw12f" targetRef="Gateway_03nqgco">
+      <bpmn2:extensionElements>
+        <camunda:properties>
+          <camunda:property name="pluginid" value="eca_scalar" />
+        </camunda:properties>
+        <camunda:field name="left">
+          <camunda:string>[entity:field_status]</camunda:string>
+        </camunda:field>
+        <camunda:field name="operator">
+          <camunda:string>equal</camunda:string>
+        </camunda:field>
+        <camunda:field name="right">
+          <camunda:string>2</camunda:string>
+        </camunda:field>
+        <camunda:field name="type">
+          <camunda:string>value</camunda:string>
+        </camunda:field>
+        <camunda:field name="case">
+          <camunda:string>no</camunda:string>
+        </camunda:field>
+        <camunda:field name="negate">
+          <camunda:string>no</camunda:string>
+        </camunda:field>
+      </bpmn2:extensionElements>
+    </bpmn2:sequenceFlow>
+    <bpmn2:task id="Activity_0t3ro4o" name="Message containing status value" camunda:modelerTemplate="org.drupal.action.action_message_action">
+      <bpmn2:extensionElements>
+        <camunda:properties>
+          <camunda:property name="pluginid" value="action_message_action" />
+        </camunda:properties>
+        <camunda:field name="message">
+          <camunda:string>The value of status is [entity:field_status].</camunda:string>
+        </camunda:field>
+        <camunda:field name="replace_tokens">
+          <camunda:string>yes</camunda:string>
+        </camunda:field>
+      </bpmn2:extensionElements>
+      <bpmn2:incoming>Flow_1ivplmo</bpmn2:incoming>
+      <bpmn2:incoming>Flow_1qj2m9t</bpmn2:incoming>
+      <bpmn2:incoming>Flow_08n8ctu</bpmn2:incoming>
     </bpmn2:task>
-    <bpmn2:sequenceFlow id="Flow_080ikau" sourceRef="Event_082luue" targetRef="Activity_1x79dx8"/>
+    <bpmn2:sequenceFlow id="Flow_1ivplmo" sourceRef="Activity_0anrk10" targetRef="Activity_0t3ro4o" />
+    <bpmn2:sequenceFlow id="Flow_1qj2m9t" sourceRef="Activity_0yz4n6i" targetRef="Activity_0t3ro4o" />
+    <bpmn2:sequenceFlow id="Flow_08n8ctu" sourceRef="Gateway_03nqgco" targetRef="Activity_0t3ro4o" />
   </bpmn2:process>
   <bpmndi:BPMNDiagram id="sid-4401d4a3-e2ed-450e-8200-aa601cf73769">
     <bpmndi:BPMNPlane id="sid-6de9c83a-5f4d-4589-bf9c-326c3b018280" bpmnElement="eca_lib_0004">
       <bpmndi:BPMNShape id="Event_082luue_di" bpmnElement="Event_082luue">
-        <dc:Bounds x="542" y="242" width="36" height="36"/>
+        <dc:Bounds x="542" y="242" width="36" height="36" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="526" y="285" width="73" height="14"/>
+          <dc:Bounds x="526" y="285" width="73" height="14" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="Activity_0yz4n6i_di" bpmnElement="Activity_0yz4n6i">
-        <dc:Bounds x="970" y="220" width="100" height="80"/>
-        <bpmndi:BPMNLabel/>
+        <dc:Bounds x="970" y="220" width="100" height="80" />
+        <bpmndi:BPMNLabel />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="Activity_0anrk10_di" bpmnElement="Activity_0anrk10">
-        <dc:Bounds x="970" y="320" width="100" height="80"/>
-        <bpmndi:BPMNLabel/>
+        <dc:Bounds x="970" y="320" width="100" height="80" />
+        <bpmndi:BPMNLabel />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="Activity_1x79dx8_di" bpmnElement="Activity_1x79dx8">
-        <dc:Bounds x="640" y="220" width="100" height="80"/>
-        <bpmndi:BPMNLabel/>
+        <dc:Bounds x="640" y="220" width="100" height="80" />
+        <bpmndi:BPMNLabel />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Gateway_1evw12f_di" bpmnElement="Gateway_1evw12f" isMarkerVisible="true">
+        <dc:Bounds x="815" y="455" width="50" height="50" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Gateway_03nqgco_di" bpmnElement="Gateway_03nqgco" isMarkerVisible="true">
+        <dc:Bounds x="995" y="455" width="50" height="50" />
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="Activity_0t3ro4o_di" bpmnElement="Activity_0t3ro4o">
+        <dc:Bounds x="1210" y="320" width="100" height="80" />
+        <bpmndi:BPMNLabel />
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="Flow_1jpugw8_di" bpmnElement="Flow_1jpugw8">
-        <di:waypoint x="690" y="220"/>
-        <di:waypoint x="690" y="150"/>
-        <di:waypoint x="1020" y="150"/>
-        <di:waypoint x="1020" y="220"/>
+        <di:waypoint x="690" y="220" />
+        <di:waypoint x="690" y="150" />
+        <di:waypoint x="1020" y="150" />
+        <di:waypoint x="1020" y="220" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="833" y="132" width="13" height="14"/>
+          <dc:Bounds x="833" y="132" width="13" height="14" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="Flow_0ti9bxh_di" bpmnElement="Flow_0ti9bxh">
-        <di:waypoint x="690" y="220"/>
-        <di:waypoint x="690" y="170"/>
-        <di:waypoint x="1020" y="170"/>
-        <di:waypoint x="1020" y="220"/>
+        <di:waypoint x="690" y="220" />
+        <di:waypoint x="690" y="170" />
+        <di:waypoint x="1020" y="170" />
+        <di:waypoint x="1020" y="220" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="833" y="153" width="13" height="14"/>
+          <dc:Bounds x="833" y="153" width="13" height="14" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="Flow_01kgpwh_di" bpmnElement="Flow_01kgpwh">
-        <di:waypoint x="690" y="220"/>
-        <di:waypoint x="690" y="190"/>
-        <di:waypoint x="1020" y="190"/>
-        <di:waypoint x="1020" y="220"/>
+        <di:waypoint x="690" y="220" />
+        <di:waypoint x="690" y="190" />
+        <di:waypoint x="1020" y="190" />
+        <di:waypoint x="1020" y="220" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="833" y="172" width="13" height="14"/>
+          <dc:Bounds x="833" y="172" width="13" height="14" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="Flow_08ravmy_di" bpmnElement="Flow_08ravmy">
-        <di:waypoint x="690" y="220"/>
-        <di:waypoint x="690" y="130"/>
-        <di:waypoint x="1020" y="130"/>
-        <di:waypoint x="1020" y="220"/>
+        <di:waypoint x="690" y="220" />
+        <di:waypoint x="690" y="130" />
+        <di:waypoint x="1020" y="130" />
+        <di:waypoint x="1020" y="220" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="834" y="113" width="12" height="14"/>
+          <dc:Bounds x="834" y="113" width="12" height="14" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="Flow_0nrihfy_di" bpmnElement="Flow_0nrihfy">
-        <di:waypoint x="690" y="300"/>
-        <di:waypoint x="690" y="340"/>
-        <di:waypoint x="970" y="340"/>
+        <di:waypoint x="690" y="300" />
+        <di:waypoint x="690" y="340" />
+        <di:waypoint x="970" y="340" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="833" y="323" width="13" height="14"/>
+          <dc:Bounds x="833" y="323" width="13" height="14" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="Flow_0usiojw_di" bpmnElement="Flow_0usiojw">
-        <di:waypoint x="690" y="300"/>
-        <di:waypoint x="690" y="360"/>
-        <di:waypoint x="970" y="360"/>
+        <di:waypoint x="690" y="300" />
+        <di:waypoint x="690" y="360" />
+        <di:waypoint x="970" y="360" />
         <bpmndi:BPMNLabel>
-          <dc:Bounds x="833" y="343" width="13" height="14"/>
+          <dc:Bounds x="833" y="343" width="13" height="14" />
         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="Flow_080ikau_di" bpmnElement="Flow_080ikau">
-        <di:waypoint x="578" y="260"/>
-        <di:waypoint x="640" y="260"/>
+        <di:waypoint x="578" y="260" />
+        <di:waypoint x="640" y="260" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1tvob5w_di" bpmnElement="Flow_1tvob5w">
+        <di:waypoint x="690" y="300" />
+        <di:waypoint x="690" y="480" />
+        <di:waypoint x="815" y="480" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1uz5icy_di" bpmnElement="Flow_1uz5icy">
+        <di:waypoint x="865" y="480" />
+        <di:waypoint x="995" y="480" />
+        <bpmndi:BPMNLabel>
+          <dc:Bounds x="903" y="462" width="55" height="14" />
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1ivplmo_di" bpmnElement="Flow_1ivplmo">
+        <di:waypoint x="1070" y="360" />
+        <di:waypoint x="1210" y="360" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_1qj2m9t_di" bpmnElement="Flow_1qj2m9t">
+        <di:waypoint x="1070" y="260" />
+        <di:waypoint x="1150" y="260" />
+        <di:waypoint x="1150" y="360" />
+        <di:waypoint x="1210" y="360" />
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="Flow_08n8ctu_di" bpmnElement="Flow_08n8ctu">
+        <di:waypoint x="1045" y="480" />
+        <di:waypoint x="1150" y="480" />
+        <di:waypoint x="1150" y="360" />
+        <di:waypoint x="1210" y="360" />
       </bpmndi:BPMNEdge>
     </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
-- 
GitLab