dodil/erp-method

modules/product/signoff/product/history/product_price_list.v5.bpmn

<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dodil="https://git.dodil.io/dodil/erp-platform/bpmn/1" id="Definitions_product_v3" name="Products &amp; price lists processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
 <bpmn:collaboration id="Collaboration_product_v3">
  <bpmn:documentation>Products &amp; price lists: one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
  <bpmn:participant id="Participant_product_price_list" name="Price list" processRef="Process_product_price_list_v3" />
 </bpmn:collaboration>
 <bpmn:process id="Process_product_price_list_v3" name="Price list" isExecutable="false">
  <bpmn:documentation>Lifecycle of the price list, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: draft, published, retired. Note: the CURRENT price is derived on read from the dated rows (PRD-11); nothing stores it. One default per currency on any date: the latest default_from on or before it. Nothing changes a price for a date already past</bpmn:documentation>
  <bpmn:laneSet id="LaneSet_price_list">
   <bpmn:lane id="Lane_price_list_pricing_manager" name="Whoever sets prices (the owner, a commercial manager)">
    <bpmn:flowNodeRef>Start_price_list</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_open_price_list</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_set_prices</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_publish_price_list</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_change_prices</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_assign_customer</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_retire_price_list</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_set_prices__if</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_set_prices__if_end</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_change_prices__if</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_change_prices__if_end</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_assign_customer__if</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_assign_customer__if_end</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>End_price_list_retired</bpmn:flowNodeRef>
   </bpmn:lane>
   <bpmn:lane id="Lane_price_list_system" name="The system">
    <bpmn:flowNodeRef>Task_ai_price_check</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_ai_price_check__if</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_ai_price_check__if_end</bpmn:flowNodeRef>
   </bpmn:lane>
  </bpmn:laneSet>
  <bpmn:startEvent id="Start_price_list" name="Price list needed">
   <bpmn:outgoing>Flow_Start_price_list__Task_open_price_list</bpmn:outgoing>
  </bpmn:startEvent>
  <bpmn:userTask id="Task_open_price_list" name="Open a price list" dodil:step="open_price_list">
   <bpmn:documentation>By: Whoever sets prices (the owner, a commercial manager). From none to draft. When: a currency (ISO 4217); a base list in the same currency with the same VAT basis; rounding no finer than the currency's minor unit. Effect: based on another list, or standalone.</bpmn:documentation>
   <bpmn:incoming>Flow_Start_price_list__Task_open_price_list</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_open_price_list__Gateway_set_prices__if</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:userTask id="Task_set_prices" name="Set prices and rules" dodil:step="set_prices">
   <bpmn:documentation>By: Whoever sets prices (the owner, a commercial manager). From draft to draft. When: a pricing quantity is a whole number from 1 to 100000. Effect: dated rows per product and unit, each a price per its pricing quantity (default 1), rules, and the list's default_from, all still editable; nothing visible to sales yet.</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_set_prices__if__Task_set_prices</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_set_prices__Gateway_set_prices__if_end</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:serviceTask id="Task_ai_price_check" name="AI flags unusual prices (suggest)" dodil:step="ai_price_check" implementation="##unspecified">
   <bpmn:documentation>By: The system. From draft to draft. When: the price check is on. Effect: outliers against the base list and similar products are listed for the pricing manager.</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_ai_price_check__if__Task_ai_price_check</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_ai_price_check__Gateway_ai_price_check__if_end</bpmn:outgoing>
  </bpmn:serviceTask>
  <bpmn:userTask id="Task_publish_price_list" name="Publish the price list" dodil:step="publish_price_list" dodil:approval="true">
   <bpmn:documentation>By: Whoever sets prices (the owner, a commercial manager). From draft to published. When: every row and rule has a valid_from after today, or today while the currency has no published price yet; a default_from after today, or today for the first default list of a currency; the approver is not the author where the setting asks for one. Effect: sales prices from it on each row's valid_from; from its default_from it is the currency's default list. An approval.</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_ai_price_check__if_end__Task_publish_price_list</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_publish_price_list__Gateway_change_prices__if</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:userTask id="Task_change_prices" name="Schedule a price change" dodil:step="change_prices" dodil:approval="true">
   <bpmn:documentation>By: Whoever sets prices (the owner, a commercial manager). From published to published. When: every new row starts after today. Effect: new rows with a later valid_from; old rows are never edited. An approval.</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_change_prices__if__Task_change_prices</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_change_prices__Gateway_change_prices__if_end</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:userTask id="Task_assign_customer" name="Assign customers to the list" dodil:step="assign_customer">
   <bpmn:documentation>By: Whoever sets prices (the owner, a commercial manager). From published to published. When: the assignment starts after today. Effect: their prices in this currency resolve from this list from that date.</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_assign_customer__if__Task_assign_customer</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_assign_customer__Gateway_assign_customer__if_end</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:userTask id="Task_retire_price_list" name="Retire the price list" dodil:step="retire_price_list">
   <bpmn:documentation>By: Whoever sets prices (the owner, a commercial manager). From published to retired. When: not the default of its currency today or later, and not the base of another list or rule. Effect: assigned customers fall back to the default list; prices for past dates still resolve from it.</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_assign_customer__if_end__Task_retire_price_list</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_retire_price_list__End_price_list_retired</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:exclusiveGateway id="Gateway_set_prices__if" name="a pricing quantity is a whole number from 1 to 100000?">
   <bpmn:incoming>Flow_Task_open_price_list__Gateway_set_prices__if</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_set_prices__if__Task_set_prices</bpmn:outgoing>
   <bpmn:outgoing>Flow_Gateway_set_prices__if__Gateway_set_prices__if_end</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:exclusiveGateway id="Gateway_set_prices__if_end">
   <bpmn:incoming>Flow_Gateway_set_prices__if__Gateway_set_prices__if_end</bpmn:incoming>
   <bpmn:incoming>Flow_Task_set_prices__Gateway_set_prices__if_end</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_set_prices__if_end__Gateway_ai_price_check__if</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:exclusiveGateway id="Gateway_ai_price_check__if" name="the price check is on?">
   <bpmn:incoming>Flow_Gateway_set_prices__if_end__Gateway_ai_price_check__if</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_ai_price_check__if__Task_ai_price_check</bpmn:outgoing>
   <bpmn:outgoing>Flow_Gateway_ai_price_check__if__Gateway_ai_price_check__if_end</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:exclusiveGateway id="Gateway_ai_price_check__if_end">
   <bpmn:incoming>Flow_Gateway_ai_price_check__if__Gateway_ai_price_check__if_end</bpmn:incoming>
   <bpmn:incoming>Flow_Task_ai_price_check__Gateway_ai_price_check__if_end</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_ai_price_check__if_end__Task_publish_price_list</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:exclusiveGateway id="Gateway_change_prices__if" name="every new row starts after today?">
   <bpmn:incoming>Flow_Task_publish_price_list__Gateway_change_prices__if</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_change_prices__if__Task_change_prices</bpmn:outgoing>
   <bpmn:outgoing>Flow_Gateway_change_prices__if__Gateway_change_prices__if_end</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:exclusiveGateway id="Gateway_change_prices__if_end">
   <bpmn:incoming>Flow_Gateway_change_prices__if__Gateway_change_prices__if_end</bpmn:incoming>
   <bpmn:incoming>Flow_Task_change_prices__Gateway_change_prices__if_end</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_change_prices__if_end__Gateway_assign_customer__if</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:exclusiveGateway id="Gateway_assign_customer__if" name="the assignment starts after today?">
   <bpmn:incoming>Flow_Gateway_change_prices__if_end__Gateway_assign_customer__if</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_assign_customer__if__Task_assign_customer</bpmn:outgoing>
   <bpmn:outgoing>Flow_Gateway_assign_customer__if__Gateway_assign_customer__if_end</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:exclusiveGateway id="Gateway_assign_customer__if_end">
   <bpmn:incoming>Flow_Gateway_assign_customer__if__Gateway_assign_customer__if_end</bpmn:incoming>
   <bpmn:incoming>Flow_Task_assign_customer__Gateway_assign_customer__if_end</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_assign_customer__if_end__Task_retire_price_list</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:endEvent id="End_price_list_retired" name="Price list retired">
   <bpmn:incoming>Flow_Task_retire_price_list__End_price_list_retired</bpmn:incoming>
  </bpmn:endEvent>
  <bpmn:sequenceFlow id="Flow_Start_price_list__Task_open_price_list" sourceRef="Start_price_list" targetRef="Task_open_price_list" />
  <bpmn:sequenceFlow id="Flow_Gateway_set_prices__if__Task_set_prices" name="a pricing quantity is a whole number from 1 to 100000" sourceRef="Gateway_set_prices__if" targetRef="Task_set_prices" />
  <bpmn:sequenceFlow id="Flow_Gateway_set_prices__if__Gateway_set_prices__if_end" name="otherwise" sourceRef="Gateway_set_prices__if" targetRef="Gateway_set_prices__if_end" />
  <bpmn:sequenceFlow id="Flow_Task_set_prices__Gateway_set_prices__if_end" sourceRef="Task_set_prices" targetRef="Gateway_set_prices__if_end" />
  <bpmn:sequenceFlow id="Flow_Gateway_ai_price_check__if__Task_ai_price_check" name="the price check is on" sourceRef="Gateway_ai_price_check__if" targetRef="Task_ai_price_check" />
  <bpmn:sequenceFlow id="Flow_Gateway_ai_price_check__if__Gateway_ai_price_check__if_end" name="otherwise" sourceRef="Gateway_ai_price_check__if" targetRef="Gateway_ai_price_check__if_end" />
  <bpmn:sequenceFlow id="Flow_Task_ai_price_check__Gateway_ai_price_check__if_end" sourceRef="Task_ai_price_check" targetRef="Gateway_ai_price_check__if_end" />
  <bpmn:sequenceFlow id="Flow_Gateway_set_prices__if_end__Gateway_ai_price_check__if" sourceRef="Gateway_set_prices__if_end" targetRef="Gateway_ai_price_check__if" />
  <bpmn:sequenceFlow id="Flow_Gateway_ai_price_check__if_end__Task_publish_price_list" sourceRef="Gateway_ai_price_check__if_end" targetRef="Task_publish_price_list" />
  <bpmn:sequenceFlow id="Flow_Task_open_price_list__Gateway_set_prices__if" sourceRef="Task_open_price_list" targetRef="Gateway_set_prices__if" />
  <bpmn:sequenceFlow id="Flow_Gateway_change_prices__if__Task_change_prices" name="every new row starts after today" sourceRef="Gateway_change_prices__if" targetRef="Task_change_prices" />
  <bpmn:sequenceFlow id="Flow_Gateway_change_prices__if__Gateway_change_prices__if_end" name="otherwise" sourceRef="Gateway_change_prices__if" targetRef="Gateway_change_prices__if_end" />
  <bpmn:sequenceFlow id="Flow_Task_change_prices__Gateway_change_prices__if_end" sourceRef="Task_change_prices" targetRef="Gateway_change_prices__if_end" />
  <bpmn:sequenceFlow id="Flow_Gateway_assign_customer__if__Task_assign_customer" name="the assignment starts after today" sourceRef="Gateway_assign_customer__if" targetRef="Task_assign_customer" />
  <bpmn:sequenceFlow id="Flow_Gateway_assign_customer__if__Gateway_assign_customer__if_end" name="otherwise" sourceRef="Gateway_assign_customer__if" targetRef="Gateway_assign_customer__if_end" />
  <bpmn:sequenceFlow id="Flow_Task_assign_customer__Gateway_assign_customer__if_end" sourceRef="Task_assign_customer" targetRef="Gateway_assign_customer__if_end" />
  <bpmn:sequenceFlow id="Flow_Gateway_change_prices__if_end__Gateway_assign_customer__if" sourceRef="Gateway_change_prices__if_end" targetRef="Gateway_assign_customer__if" />
  <bpmn:sequenceFlow id="Flow_Gateway_assign_customer__if_end__Task_retire_price_list" sourceRef="Gateway_assign_customer__if_end" targetRef="Task_retire_price_list" />
  <bpmn:sequenceFlow id="Flow_Task_publish_price_list__Gateway_change_prices__if" sourceRef="Task_publish_price_list" targetRef="Gateway_change_prices__if" />
  <bpmn:sequenceFlow id="Flow_Task_retire_price_list__End_price_list_retired" sourceRef="Task_retire_price_list" targetRef="End_price_list_retired" />
 </bpmn:process>
 <bpmndi:BPMNDiagram id="BPMNDiagram_product_v3">
  <bpmndi:BPMNPlane id="BPMNPlane_product_v3" bpmnElement="Collaboration_product_v3">
   <bpmndi:BPMNShape id="Participant_product_price_list_di" bpmnElement="Participant_product_price_list" isHorizontal="true">
    <dc:Bounds x="0" y="0" width="2320" height="520" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Lane_price_list_pricing_manager_di" bpmnElement="Lane_price_list_pricing_manager" isHorizontal="true">
    <dc:Bounds x="30" y="0" width="2290" height="260" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Lane_price_list_system_di" bpmnElement="Lane_price_list_system" isHorizontal="true">
    <dc:Bounds x="30" y="260" width="2290" height="260" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Start_price_list_di" bpmnElement="Start_price_list">
    <dc:Bounds x="157" y="42" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_open_price_list_di" bpmnElement="Task_open_price_list">
    <dc:Bounds x="295" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_set_prices_di" bpmnElement="Task_set_prices">
    <dc:Bounds x="635" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_ai_price_check_di" bpmnElement="Task_ai_price_check">
    <dc:Bounds x="975" y="280" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_publish_price_list_di" bpmnElement="Task_publish_price_list">
    <dc:Bounds x="1145" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_change_prices_di" bpmnElement="Task_change_prices">
    <dc:Bounds x="1485" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_assign_customer_di" bpmnElement="Task_assign_customer">
    <dc:Bounds x="1825" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_retire_price_list_di" bpmnElement="Task_retire_price_list">
    <dc:Bounds x="1995" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_set_prices__if_di" bpmnElement="Gateway_set_prices__if">
    <dc:Bounds x="490" y="35" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_set_prices__if_end_di" bpmnElement="Gateway_set_prices__if_end">
    <dc:Bounds x="660" y="155" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_ai_price_check__if_di" bpmnElement="Gateway_ai_price_check__if">
    <dc:Bounds x="830" y="295" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_ai_price_check__if_end_di" bpmnElement="Gateway_ai_price_check__if_end">
    <dc:Bounds x="1000" y="415" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_change_prices__if_di" bpmnElement="Gateway_change_prices__if">
    <dc:Bounds x="1340" y="35" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_change_prices__if_end_di" bpmnElement="Gateway_change_prices__if_end">
    <dc:Bounds x="1510" y="155" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_assign_customer__if_di" bpmnElement="Gateway_assign_customer__if">
    <dc:Bounds x="1680" y="35" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_assign_customer__if_end_di" bpmnElement="Gateway_assign_customer__if_end">
    <dc:Bounds x="1850" y="155" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="End_price_list_retired_di" bpmnElement="End_price_list_retired">
    <dc:Bounds x="2197" y="42" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNEdge id="Flow_Start_price_list__Task_open_price_list_di" bpmnElement="Flow_Start_price_list__Task_open_price_list">
    <di:waypoint x="193" y="60" />
    <di:waypoint x="295" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_set_prices__if__Task_set_prices_di" bpmnElement="Flow_Gateway_set_prices__if__Task_set_prices">
    <di:waypoint x="540" y="60" />
    <di:waypoint x="635" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_set_prices__if__Gateway_set_prices__if_end_di" bpmnElement="Flow_Gateway_set_prices__if__Gateway_set_prices__if_end">
    <di:waypoint x="540" y="60" />
    <di:waypoint x="635" y="60" />
    <di:waypoint x="635" y="180" />
    <di:waypoint x="660" y="180" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_set_prices__Gateway_set_prices__if_end_di" bpmnElement="Flow_Task_set_prices__Gateway_set_prices__if_end">
    <di:waypoint x="685" y="100" />
    <di:waypoint x="685" y="220" />
    <di:waypoint x="685" y="220" />
    <di:waypoint x="685" y="205" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_ai_price_check__if__Task_ai_price_check_di" bpmnElement="Flow_Gateway_ai_price_check__if__Task_ai_price_check">
    <di:waypoint x="880" y="320" />
    <di:waypoint x="975" y="320" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_ai_price_check__if__Gateway_ai_price_check__if_end_di" bpmnElement="Flow_Gateway_ai_price_check__if__Gateway_ai_price_check__if_end">
    <di:waypoint x="880" y="320" />
    <di:waypoint x="975" y="320" />
    <di:waypoint x="975" y="440" />
    <di:waypoint x="1000" y="440" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_ai_price_check__Gateway_ai_price_check__if_end_di" bpmnElement="Flow_Task_ai_price_check__Gateway_ai_price_check__if_end">
    <di:waypoint x="1025" y="360" />
    <di:waypoint x="1025" y="486" />
    <di:waypoint x="1025" y="486" />
    <di:waypoint x="1025" y="465" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_set_prices__if_end__Gateway_ai_price_check__if_di" bpmnElement="Flow_Gateway_set_prices__if_end__Gateway_ai_price_check__if">
    <di:waypoint x="710" y="180" />
    <di:waypoint x="805" y="180" />
    <di:waypoint x="805" y="320" />
    <di:waypoint x="830" y="320" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_ai_price_check__if_end__Task_publish_price_list_di" bpmnElement="Flow_Gateway_ai_price_check__if_end__Task_publish_price_list">
    <di:waypoint x="1050" y="440" />
    <di:waypoint x="1120" y="440" />
    <di:waypoint x="1120" y="60" />
    <di:waypoint x="1145" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_open_price_list__Gateway_set_prices__if_di" bpmnElement="Flow_Task_open_price_list__Gateway_set_prices__if">
    <di:waypoint x="395" y="60" />
    <di:waypoint x="490" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_change_prices__if__Task_change_prices_di" bpmnElement="Flow_Gateway_change_prices__if__Task_change_prices">
    <di:waypoint x="1390" y="60" />
    <di:waypoint x="1485" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_change_prices__if__Gateway_change_prices__if_end_di" bpmnElement="Flow_Gateway_change_prices__if__Gateway_change_prices__if_end">
    <di:waypoint x="1390" y="60" />
    <di:waypoint x="1485" y="60" />
    <di:waypoint x="1485" y="180" />
    <di:waypoint x="1510" y="180" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_change_prices__Gateway_change_prices__if_end_di" bpmnElement="Flow_Task_change_prices__Gateway_change_prices__if_end">
    <di:waypoint x="1535" y="100" />
    <di:waypoint x="1535" y="232" />
    <di:waypoint x="1535" y="232" />
    <di:waypoint x="1535" y="205" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_assign_customer__if__Task_assign_customer_di" bpmnElement="Flow_Gateway_assign_customer__if__Task_assign_customer">
    <di:waypoint x="1730" y="60" />
    <di:waypoint x="1825" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_assign_customer__if__Gateway_assign_customer__if_end_di" bpmnElement="Flow_Gateway_assign_customer__if__Gateway_assign_customer__if_end">
    <di:waypoint x="1730" y="60" />
    <di:waypoint x="1825" y="60" />
    <di:waypoint x="1825" y="180" />
    <di:waypoint x="1850" y="180" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_assign_customer__Gateway_assign_customer__if_end_di" bpmnElement="Flow_Task_assign_customer__Gateway_assign_customer__if_end">
    <di:waypoint x="1875" y="100" />
    <di:waypoint x="1875" y="238" />
    <di:waypoint x="1875" y="238" />
    <di:waypoint x="1875" y="205" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_change_prices__if_end__Gateway_assign_customer__if_di" bpmnElement="Flow_Gateway_change_prices__if_end__Gateway_assign_customer__if">
    <di:waypoint x="1560" y="180" />
    <di:waypoint x="1655" y="180" />
    <di:waypoint x="1655" y="60" />
    <di:waypoint x="1680" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_assign_customer__if_end__Task_retire_price_list_di" bpmnElement="Flow_Gateway_assign_customer__if_end__Task_retire_price_list">
    <di:waypoint x="1900" y="180" />
    <di:waypoint x="1970" y="180" />
    <di:waypoint x="1970" y="60" />
    <di:waypoint x="1995" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_publish_price_list__Gateway_change_prices__if_di" bpmnElement="Flow_Task_publish_price_list__Gateway_change_prices__if">
    <di:waypoint x="1245" y="60" />
    <di:waypoint x="1340" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_retire_price_list__End_price_list_retired_di" bpmnElement="Flow_Task_retire_price_list__End_price_list_retired">
    <di:waypoint x="2095" y="60" />
    <di:waypoint x="2197" y="60" />
   </bpmndi:BPMNEdge>
  </bpmndi:BPMNPlane>
 </bpmndi:BPMNDiagram>
</bpmn:definitions>