Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:rule:time_flows_left_to_right [2024-01-10 17:49] – [Time should flow left to right] Anatoly Belaychuken:rule:time_flows_left_to_right [2024-08-24 15:48] (current) – [Time should flow left to right] Anatoly Belaychuk
Line 1: Line 1:
 ====== Time should flow left to right ====== ====== Time should flow left to right ======
  
-{{tag>en:pool en:control_flow en:event_link}}+{{tag>pool sequence_flow link_event visual_style}}
  
-Avoid control flows running right to left.+Avoid sequence flows running right to left.
  
 ===== ✔ How to ===== ===== ✔ How to =====
Line 218: Line 218:
 </bpmnio> </bpmnio>
  
-... or to utilize the link events:+or to utilize link events:
  
 <bpmnio type="bpmn"> <bpmnio type="bpmn">
Line 270: Line 270:
       <linkEventDefinition id="LinkEventDefinition_0f0y9w3" name="" />       <linkEventDefinition id="LinkEventDefinition_0f0y9w3" name="" />
     </intermediateThrowEvent>     </intermediateThrowEvent>
-    <intermediateThrowEvent id="Event_1s9wzdn" name="Part 2">+    <sequenceFlow id="Flow_0chmb44" sourceRef="Event_1s9wzdn" targetRef="Activity_1lih2dq" /> 
 +    <intermediateCatchEvent id="Event_1s9wzdn" name="Part 2">
       <outgoing>Flow_0chmb44</outgoing>       <outgoing>Flow_0chmb44</outgoing>
-    </intermediateThrowEvent> +      <linkEventDefinition id="LinkEventDefinition_04m0alsname="" /
-    <sequenceFlow id="Flow_0chmb44sourceRef="Event_1s9wzdn" targetRef="Activity_1lih2dq" />+    </intermediateCatchEvent>
   </process>   </process>
   <bpmndi:BPMNDiagram id="BpmnDiagram_1">   <bpmndi:BPMNDiagram id="BpmnDiagram_1">
Line 320: Line 321:
         </bpmndi:BPMNLabel>         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>       </bpmndi:BPMNShape>
-      <bpmndi:BPMNShape id="Event_1s9wzdn_di" bpmnElement="Event_1s9wzdn">+      <bpmndi:BPMNShape id="Event_1wi5fos_di" bpmnElement="Event_1s9wzdn">
         <omgdc:Bounds x="232" y="222" width="36" height="36" />         <omgdc:Bounds x="232" y="222" width="36" height="36" />
         <bpmndi:BPMNLabel>         <bpmndi:BPMNLabel>
Line 361: Line 362:
         <omgdi:waypoint x="268" y="240" />         <omgdi:waypoint x="268" y="240" />
         <omgdi:waypoint x="310" y="240" />         <omgdi:waypoint x="310" y="240" />
 +      </bpmndi:BPMNEdge>
 +    </bpmndi:BPMNPlane>
 +  </bpmndi:BPMNDiagram>
 +</definitions>
 +</bpmnio>
 +
 +If swimlanes are used, it's OK for sequence flows to go up or down:
 +
 +<bpmnio type="bpmn">
 +<?xml version="1.0" encoding="UTF-8"?>
 +<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1">
 +  <collaboration id="Collaboration_0u4xky5">
 +    <participant id="Participant_18p47ij" processRef="Process_0dhvezv" />
 +  </collaboration>
 +  <process id="Process_0dhvezv">
 +    <laneSet id="LaneSet_0psli3j">
 +      <lane id="Lane_1n8547j" name="R&#38;D">
 +        <flowNodeRef>Event_16liywa</flowNodeRef>
 +        <flowNodeRef>Activity_15654ic</flowNodeRef>
 +        <flowNodeRef>Activity_1fzaw0g</flowNodeRef>
 +      </lane>
 +      <lane id="Lane_0wgnocb" name="Finance">
 +        <flowNodeRef>Activity_0mk1m9q</flowNodeRef>
 +      </lane>
 +      <lane id="Lane_0r89z61" name="Markeging">
 +        <flowNodeRef>Activity_1lqom2i</flowNodeRef>
 +        <flowNodeRef>Event_09o5m3q</flowNodeRef>
 +      </lane>
 +    </laneSet>
 +    <startEvent id="Event_16liywa" name="Sales order obtained">
 +      <outgoing>Flow_18pol07</outgoing>
 +    </startEvent>
 +    <task id="Activity_15654ic" name="Create product specification">
 +      <incoming>Flow_18pol07</incoming>
 +      <outgoing>Flow_1lz2w56</outgoing>
 +    </task>
 +    <task id="Activity_1fzaw0g" name="Calculate technical parameters">
 +      <incoming>Flow_1lz2w56</incoming>
 +      <outgoing>Flow_04cilaa</outgoing>
 +    </task>
 +    <task id="Activity_0mk1m9q" name="Calculate costs">
 +      <incoming>Flow_04cilaa</incoming>
 +      <outgoing>Flow_1sc89en</outgoing>
 +    </task>
 +    <sequenceFlow id="Flow_18pol07" sourceRef="Event_16liywa" targetRef="Activity_15654ic" />
 +    <sequenceFlow id="Flow_1lz2w56" sourceRef="Activity_15654ic" targetRef="Activity_1fzaw0g" />
 +    <sequenceFlow id="Flow_04cilaa" sourceRef="Activity_1fzaw0g" targetRef="Activity_0mk1m9q" />
 +    <sequenceFlow id="Flow_1sc89en" sourceRef="Activity_0mk1m9q" targetRef="Activity_1lqom2i" />
 +    <sequenceFlow id="Flow_0wk6bjv" sourceRef="Activity_1lqom2i" targetRef="Event_09o5m3q" />
 +    <task id="Activity_1lqom2i" name="Assign price category">
 +      <incoming>Flow_1sc89en</incoming>
 +      <outgoing>Flow_0wk6bjv</outgoing>
 +    </task>
 +    <endEvent id="Event_09o5m3q">
 +      <incoming>Flow_0wk6bjv</incoming>
 +    </endEvent>
 +  </process>
 +  <bpmndi:BPMNDiagram id="BpmnDiagram_1">
 +    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_0u4xky5">
 +      <bpmndi:BPMNShape id="Participant_18p47ij_di" bpmnElement="Participant_18p47ij" isHorizontal="true">
 +        <omgdc:Bounds x="180" y="40" width="530" height="370" />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Lane_1n8547j_di" bpmnElement="Lane_1n8547j" isHorizontal="true">
 +        <omgdc:Bounds x="210" y="40" width="500" height="125" />
 +        <bpmndi:BPMNLabel />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Lane_0wgnocb_di" bpmnElement="Lane_0wgnocb" isHorizontal="true">
 +        <omgdc:Bounds x="210" y="165" width="500" height="125" />
 +        <bpmndi:BPMNLabel />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Lane_0r89z61_di" bpmnElement="Lane_0r89z61" isHorizontal="true">
 +        <omgdc:Bounds x="210" y="290" width="500" height="120" />
 +        <bpmndi:BPMNLabel />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Event_16liywa_di" bpmnElement="Event_16liywa">
 +        <omgdc:Bounds x="272" y="82" width="36" height="36" />
 +        <bpmndi:BPMNLabel>
 +          <omgdc:Bounds x="261" y="125" width="58" height="27" />
 +        </bpmndi:BPMNLabel>
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Activity_15654ic_di" bpmnElement="Activity_15654ic">
 +        <omgdc:Bounds x="350" y="60" width="100" height="80" />
 +        <bpmndi:BPMNLabel />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Activity_1fzaw0g_di" bpmnElement="Activity_1fzaw0g">
 +        <omgdc:Bounds x="490" y="60" width="100" height="80" />
 +        <bpmndi:BPMNLabel />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Activity_0mk1m9q_di" bpmnElement="Activity_0mk1m9q">
 +        <omgdc:Bounds x="490" y="190" width="100" height="80" />
 +        <bpmndi:BPMNLabel />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Activity_1lqom2i_di" bpmnElement="Activity_1lqom2i">
 +        <omgdc:Bounds x="490" y="310" width="100" height="80" />
 +        <bpmndi:BPMNLabel />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNShape id="Event_09o5m3q_di" bpmnElement="Event_09o5m3q">
 +        <omgdc:Bounds x="632" y="332" width="36" height="36" />
 +      </bpmndi:BPMNShape>
 +      <bpmndi:BPMNEdge id="Flow_18pol07_di" bpmnElement="Flow_18pol07">
 +        <omgdi:waypoint x="308" y="100" />
 +        <omgdi:waypoint x="350" y="100" />
 +      </bpmndi:BPMNEdge>
 +      <bpmndi:BPMNEdge id="Flow_1lz2w56_di" bpmnElement="Flow_1lz2w56">
 +        <omgdi:waypoint x="450" y="100" />
 +        <omgdi:waypoint x="490" y="100" />
 +      </bpmndi:BPMNEdge>
 +      <bpmndi:BPMNEdge id="Flow_04cilaa_di" bpmnElement="Flow_04cilaa">
 +        <omgdi:waypoint x="540" y="140" />
 +        <omgdi:waypoint x="540" y="190" />
 +      </bpmndi:BPMNEdge>
 +      <bpmndi:BPMNEdge id="Flow_1sc89en_di" bpmnElement="Flow_1sc89en">
 +        <omgdi:waypoint x="540" y="270" />
 +        <omgdi:waypoint x="540" y="310" />
 +      </bpmndi:BPMNEdge>
 +      <bpmndi:BPMNEdge id="Flow_0wk6bjv_di" bpmnElement="Flow_0wk6bjv">
 +        <omgdi:waypoint x="590" y="350" />
 +        <omgdi:waypoint x="632" y="350" />
       </bpmndi:BPMNEdge>       </bpmndi:BPMNEdge>
     </bpmndi:BPMNPlane>     </bpmndi:BPMNPlane>
Line 622: Line 741:
 ===== See also ===== ===== See also =====
  
 +  * [[en:rule:v_shaped_flow]]
   * [[en:rule:horizontal_diagram]]   * [[en:rule:horizontal_diagram]]
   * [[en:rule:connect_flows_to_any_side]]   * [[en:rule:connect_flows_to_any_side]]
Line 628: Line 748:
  
  --- //[[user:bell|Anatoly Belaychuk]] 2024-01-08 20:58//  --- //[[user:bell|Anatoly Belaychuk]] 2024-01-08 20:58//
 +