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:human_decision [2024-01-12 11:30] – [Edit diagram] Anatoly Belaychuken:rule:human_decision [2024-01-13 12:25] (current) Anatoly Belaychuk
Line 1: Line 1:
-====== 0DRAFT Use task plus gateway to model human-made decisions ======+====== Use task plus gateway to model human-made decisions ======
  
 {{tag>task gateway}} {{tag>task gateway}}
  
-{{en:underconstruction.png?nolink&200|}} +There is no BPMN dedicated to depict a human decision. Use a human task followed by exclusive gateway.
- +
-Put rule description here +
 ===== ✔ How to ===== ===== ✔ How to =====
  
Line 133: Line 130:
   <bpmndi:BPMNDiagram id="BpmnDiagram_1">   <bpmndi:BPMNDiagram id="BpmnDiagram_1">
     <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0kle9bs">     <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0kle9bs">
 +      <bpmndi:BPMNShape id="Event_1d8q7y4_di" bpmnElement="Event_1d8q7y4">
 +        <omgdc:Bounds x="322" y="102" width="36" height="36" />
 +      </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="Gateway_09y4b7d_di" bpmnElement="Gateway_09y4b7d" isMarkerVisible="true">       <bpmndi:BPMNShape id="Gateway_09y4b7d_di" bpmnElement="Gateway_09y4b7d" isMarkerVisible="true">
         <omgdc:Bounds x="415" y="95" width="50" height="50" />         <omgdc:Bounds x="415" y="95" width="50" height="50" />
         <bpmndi:BPMNLabel>         <bpmndi:BPMNLabel>
-          <omgdc:Bounds x="417" y="71" width="45" height="27" />+          <omgdc:Bounds x="417" y="66" width="45" height="27" />
         </bpmndi:BPMNLabel>         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>       </bpmndi:BPMNShape>
Line 154: Line 154:
           <omgdc:Bounds x="682" y="145" width="17" height="14" />           <omgdc:Bounds x="682" y="145" width="17" height="14" />
         </bpmndi:BPMNLabel>         </bpmndi:BPMNLabel>
-      </bpmndi:BPMNShape> 
-      <bpmndi:BPMNShape id="Event_1d8q7y4_di" bpmnElement="Event_1d8q7y4"> 
-        <omgdc:Bounds x="322" y="102" width="36" height="36" /> 
       </bpmndi:BPMNShape>       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="Flow_00dyxwu_di" bpmnElement="Flow_00dyxwu">       <bpmndi:BPMNEdge id="Flow_00dyxwu_di" bpmnElement="Flow_00dyxwu">
Line 166: Line 163:
         <omgdi:waypoint x="440" y="202" />         <omgdi:waypoint x="440" y="202" />
         <bpmndi:BPMNLabel>         <bpmndi:BPMNLabel>
-          <omgdc:Bounds x="430" y="171" width="51" height="14" />+          <omgdc:Bounds x="444" y="171" width="51" height="14" />
         </bpmndi:BPMNLabel>         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>       </bpmndi:BPMNEdge>
Line 274: Line 271:
       <incoming>Flow_00dyxwu</incoming>       <incoming>Flow_00dyxwu</incoming>
       <outgoing>Flow_0orl8lf</outgoing>       <outgoing>Flow_0orl8lf</outgoing>
 +      <outgoing>Flow_0e4r95e</outgoing>
     </task>     </task>
     <sequenceFlow id="Flow_00dyxwu" sourceRef="Event_1d8q7y4" targetRef="Activity_12wlfbh" />     <sequenceFlow id="Flow_00dyxwu" sourceRef="Event_1d8q7y4" targetRef="Activity_12wlfbh" />
-    <exclusiveGateway id="Gateway_09y4b7d" name="OK?"> +    <sequenceFlow id="Flow_0orl8lf" name="feasible" sourceRef="Activity_12wlfbh" targetRef="Activity_10ahzvo"> 
-      <incoming>Flow_0orl8lf</incoming> +      <conditionExpression xsi:type="tFormalExpression"></conditionExpression
-      <outgoing>Flow_0e4r95e</outgoing> +    </sequenceFlow>
-      <outgoing>Flow_0yyyfsy</outgoing+
-    </exclusiveGateway> +
-    <sequenceFlow id="Flow_0orl8lf" sourceRef="Activity_12wlfbh" targetRef="Gateway_09y4b7d" />+
     <endEvent id="Event_07l1w93" name="Idea rejected">     <endEvent id="Event_07l1w93" name="Idea rejected">
       <incoming>Flow_0e4r95e</incoming>       <incoming>Flow_0e4r95e</incoming>
     </endEvent>     </endEvent>
-    <sequenceFlow id="Flow_0e4r95e" name="no" sourceRef="Gateway_09y4b7d" targetRef="Event_07l1w93" />+    <sequenceFlow id="Flow_0e4r95e" name="unfeasible" sourceRef="Activity_12wlfbh" targetRef="Event_07l1w93"
 +      <conditionExpression xsi:type="tFormalExpression"></conditionExpression> 
 +    </sequenceFlow>
     <task id="Activity_10ahzvo" name="Create design">     <task id="Activity_10ahzvo" name="Create design">
-      <incoming>Flow_0yyyfsy</incoming>+      <incoming>Flow_0orl8lf</incoming>
       <outgoing>Flow_0bewkdb</outgoing>       <outgoing>Flow_0bewkdb</outgoing>
     </task>     </task>
-    <sequenceFlow id="Flow_0yyyfsy" name="yes" sourceRef="Gateway_09y4b7d" targetRef="Activity_10ahzvo" /> 
     <endEvent id="Event_068y4mr" name="OK">     <endEvent id="Event_068y4mr" name="OK">
       <incoming>Flow_0bewkdb</incoming>       <incoming>Flow_0bewkdb</incoming>
Line 304: Line 300:
         <omgdc:Bounds x="270" y="80" width="100" height="80" />         <omgdc:Bounds x="270" y="80" width="100" height="80" />
         <bpmndi:BPMNLabel />         <bpmndi:BPMNLabel />
-      </bpmndi:BPMNShape> 
-      <bpmndi:BPMNShape id="Gateway_09y4b7d_di" bpmnElement="Gateway_09y4b7d" isMarkerVisible="true"> 
-        <omgdc:Bounds x="415" y="95" width="50" height="50" /> 
-        <bpmndi:BPMNLabel> 
-          <omgdc:Bounds x="428" y="71" width="23" height="14" /> 
-        </bpmndi:BPMNLabel> 
       </bpmndi:BPMNShape>       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="Event_07l1w93_di" bpmnElement="Event_07l1w93">       <bpmndi:BPMNShape id="Event_07l1w93_di" bpmnElement="Event_07l1w93">
-        <omgdc:Bounds x="422" y="202" width="36" height="36" />+        <omgdc:Bounds x="302" y="202" width="36" height="36" />
         <bpmndi:BPMNLabel>         <bpmndi:BPMNLabel>
-          <omgdc:Bounds x="408" y="245" width="64" height="14" />+          <omgdc:Bounds x="288" y="245" width="64" height="14" />
         </bpmndi:BPMNLabel>         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="Activity_10ahzvo_di" bpmnElement="Activity_10ahzvo">       <bpmndi:BPMNShape id="Activity_10ahzvo_di" bpmnElement="Activity_10ahzvo">
-        <omgdc:Bounds x="530" y="80" width="100" height="80" />+        <omgdc:Bounds x="450" y="80" width="100" height="80" />
         <bpmndi:BPMNLabel />         <bpmndi:BPMNLabel />
       </bpmndi:BPMNShape>       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="Event_068y4mr_di" bpmnElement="Event_068y4mr">       <bpmndi:BPMNShape id="Event_068y4mr_di" bpmnElement="Event_068y4mr">
-        <omgdc:Bounds x="672" y="102" width="36" height="36" />+        <omgdc:Bounds x="592" y="102" width="36" height="36" />
         <bpmndi:BPMNLabel>         <bpmndi:BPMNLabel>
-          <omgdc:Bounds x="682" y="145" width="17" height="14" />+          <omgdc:Bounds x="602" y="145" width="17" height="14" />
         </bpmndi:BPMNLabel>         </bpmndi:BPMNLabel>
       </bpmndi:BPMNShape>       </bpmndi:BPMNShape>
Line 333: Line 323:
       <bpmndi:BPMNEdge id="Flow_0orl8lf_di" bpmnElement="Flow_0orl8lf">       <bpmndi:BPMNEdge id="Flow_0orl8lf_di" bpmnElement="Flow_0orl8lf">
         <omgdi:waypoint x="370" y="120" />         <omgdi:waypoint x="370" y="120" />
-        <omgdi:waypoint x="415" y="120" /> +        <omgdi:waypoint x="450" y="120" />
-      </bpmndi:BPMNEdge> +
-      <bpmndi:BPMNEdge id="Flow_0e4r95e_di" bpmnElement="Flow_0e4r95e"> +
-        <omgdi:waypoint x="440" y="145" /> +
-        <omgdi:waypoint x="440" y="202" />+
         <bpmndi:BPMNLabel>         <bpmndi:BPMNLabel>
-          <omgdc:Bounds x="449" y="171" width="13" height="14" />+          <omgdc:Bounds x="392" y="102" width="37" height="14" />
         </bpmndi:BPMNLabel>         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>       </bpmndi:BPMNEdge>
-      <bpmndi:BPMNEdge id="Flow_0yyyfsy_di" bpmnElement="Flow_0yyyfsy"> +      <bpmndi:BPMNEdge id="Flow_0e4r95e_di" bpmnElement="Flow_0e4r95e"> 
-        <omgdi:waypoint x="465" y="120" /> +        <omgdi:waypoint x="320" y="160" /> 
-        <omgdi:waypoint x="530" y="120" />+        <omgdi:waypoint x="320" y="202" />
         <bpmndi:BPMNLabel>         <bpmndi:BPMNLabel>
-          <omgdc:Bounds x="489" y="102" width="17" height="14" />+          <omgdc:Bounds x="334" y="178" width="51" height="14" />
         </bpmndi:BPMNLabel>         </bpmndi:BPMNLabel>
       </bpmndi:BPMNEdge>       </bpmndi:BPMNEdge>
       <bpmndi:BPMNEdge id="Flow_0bewkdb_di" bpmnElement="Flow_0bewkdb">       <bpmndi:BPMNEdge id="Flow_0bewkdb_di" bpmnElement="Flow_0bewkdb">
-        <omgdi:waypoint x="630" y="120" /> +        <omgdi:waypoint x="550" y="120" /> 
-        <omgdi:waypoint x="672" y="120" />+        <omgdi:waypoint x="592" y="120" />
       </bpmndi:BPMNEdge>       </bpmndi:BPMNEdge>
     </bpmndi:BPMNPlane>     </bpmndi:BPMNPlane>
Line 357: Line 343:
 </definitions> </definitions>
 </bpmnio> </bpmnio>
-===== Notes ===== 
- 
-Put extra comments here (this section is optional) 
- 
-===== Exceptions ===== 
- 
-Specify exceptions to the rule above, if any 
- 
 ===== See also ===== ===== See also =====
  
-Reference similar rules here (this section is optional) +  * [[en:rule:check_subprocess_results]] 
 +  * [[en:rule:do_not_use_conditional_flows]] 
 +  * [[en:rule:work_is_activity]]
 ===== Author(s) ===== ===== Author(s) =====
  
-Put signature here + --- //[[user:bell|Anatoly Belaychuk]] 2024-01-13 10:59//