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:business_exception_error [2024-01-10 17:14] – [0DRAFT Use error event to model business exceptions] Anatoly Belaychuken:rule:business_exception_error [2024-08-24 15:50] (current) – [Error event may be used to model business exceptions] Anatoly Belaychuk
Line 1: Line 1:
-====== 0DRAFT Use error event to model business exceptions ======+====== Error event may be used to model business exceptions ======
  
-{{tag>event subprocess}} +{{tag>event error_event attached_event end_event subprocess}}
- +
-{{en:underconstruction.png?nolink&200|}} +
- +
-Put rule description here+
  
 +End the normal (or deisrable) end of a process by the none event and the business exception (or unwanted end) by the error event. Use the attached event at the above level of the model.
 ===== ✔ How to ===== ===== ✔ How to =====
  
-Put patterns (BPMN diagrams) here +<diagram><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="481px" height="607px" viewBox="-0.5 -0.5 481 607" content="&lt;mxfile host=&quot;embed.diagrams.net&quot; modified=&quot;2024-01-11T20:48:31.852Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36&quot; etag=&quot;DdCWNmcJI1UFWIUJkkKZ&quot; version=&quot;22.1.18&quot; type=&quot;embed&quot;&gt;&lt;diagram id=&quot;Oj1wgXiuPFaf_WvJZpv8&quot; name=&quot;Страница — 1&quot;&gt;7Vxbb+o4EP41PLaKcyHhsdD27ErnrCp1pd19NMEN3iZx5JgC++vXTuzcKS6loUSpUMHjiWN7Pn8zHgcm1iLa/aAwWf8iKxROTGO1m1j3E9ME5szmb0Kyl5KZB3JJQPFKykrBM/4PSaEhpRu8QmlNkRESMpzUhT6JY+SzmgxSSrZ1tRcS1u+awAC1BM8+DNvSv/CKrXOpZ7ql/DeEg7W6M5jO8poIKmU5knQNV2RbEVkPE2tBCWH5p2i3QKGYPTUv+XWPB2qLjlEUM50LpCXeYLiRY5P9Yns1WLTiY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fZruXC7XNAae0u3yYGt7ow9pQGHBSu2vX1RcUrtGHtbPanCzzY7ziHNaI5UEtp/HxWPaKj2VxKhbn82YpmzmDS2se096APs9pLQ2nNgZfVxJ8LUV3fs/Go5HnLJhLG6oNpE57jL1OeaR0hOn3hGnfjz7f9HiQaLbz8c98NnEcTLIvksjAYIwAxgigkpi1LxkBaOxlRmq9Emr9YATgfRSq7vRiEYDGk9AjTK8Epl+cJXTA5QIAlXkYYmpI7RhqqaGenthvxHSO6stns4Sths6XGrIGfNLV9eyrmsmes4SOdSIUgFFvyPs6JLQPuoaDBK8DCT2deV4jKbTzxS0o+Bv6ltm5YTQ/hGmK/bpR66hYwXRdXMo3LeS1+G0Bi0teuK0rYQBygG0YhWalZm4aRlaDdpj9LRrPQpi8/E+jfL+Td88K+0qhEiRkMj1E6Z42aLrzT4LMbvBNiydORdmNa2ihjJsf7itqMsw93OHG6Ycp73OoX3ajX2qreWwc5SLIe3jykhiTe2Nor/sAQAPbdn87UKv9ZPhgnLhKAtW+i3v23znpphOn4cXBrGEs7e/iNnms2dAZvbjGY9cjZY2UlW+LLkdZGkmz7xRsanEV6PhCkzrG/i4ho+fWI7CZe2LI2HB3N5rPNH00ZLQaW2GVxjrYL7tBtcanQkJeLH+sLFcvf/PNevgf&lt;/diagram&gt;&lt;/mxfile&gt;"><defs/><g><path d="M 50 445 L 115.88 445" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 128.88 445 L 115.88 451.5 L 115.88 438.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><ellipse cx="25" cy="445" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 155 420 L 180 445 L 155 470 L 130 445 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 152 432.5 L 158 432.5 L 158 442 L 167.5 442 L 167.5 448 L 158 448 L 158 457.5 L 152 457.5 L 152 448 L 142.5 448 L 142.5 442 L 152 442 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 95 300 C 95 294.48 99.48 290 105 290 L 205 290 C 210.52 290 215 294.48 215 300 L 215 360 C 215 365.52 210.52 370 205 370 L 105 370 C 99.48 370 95 365.52 95 360 L 95 300 Z" fill="rgb(255, 255, 255)" stroke="none" pointer-events="all"/><path d="M 97 301 L 97 359 C 97 363.97 101.03 368 106 368 L 204 368 C 208.97 368 213 363.97 213 359 L 213 301 C 213 296.03 208.97 292 204 292 L 106 292 C 101.03 292 97 296.03 97 301" fill="none" stroke="none" pointer-events="all"/><path d="M 95 300 C 95 294.48 99.48 290 105 290 L 205 290 C 210.52 290 215 294.48 215 300 L 215 360 C 215 365.52 210.52 370 205 370 L 105 370 C 99.48 370 95 365.52 95 360 L 95 300 Z" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 330px; margin-left: 96px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Negotiate technical terms</div></div></div></foreignObject><text x="155" y="334" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Negotiate technical...</text></switch></g><path d="M 195 110 L 195 130 L 195 120 L 195 135.88" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 195 148.88 L 188.5 135.88 L 201.5 135.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 95 530 C 95 524.48 99.48 520 105 520 L 205 520 C 210.52 520 215 524.48 215 530 L 215 590 C 215 595.52 210.52 600 205 600 L 105 600 C 99.48 600 95 595.52 95 590 L 95 530 Z" fill="rgb(255, 255, 255)" stroke="none" pointer-events="all"/><path d="M 97 531 L 97 589 C 97 593.97 101.03 598 106 598 L 204 598 C 208.97 598 213 593.97 213 589 L 213 531 C 213 526.03 208.97 522 204 522 L 106 522 C 101.03 522 97 526.03 97 531" fill="none" stroke="none" pointer-events="all"/><path d="M 95 530 C 95 524.48 99.48 520 105 520 L 205 520 C 210.52 520 215 524.48 215 530 L 215 590 C 215 595.52 210.52 600 205 600 L 105 600 C 99.48 600 95 595.52 95 590 L 95 530 Z" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 560px; margin-left: 96px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Negotiate commercial terms</div></div></div></foreignObject><text x="155" y="564" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Negotiate commercial...</text></switch></g><path d="M 155 420 L 155 384.12" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 155 371.12 L 161.5 384.12 L 148.5 384.12 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 155 470 L 155 505.88" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 155 518.88 L 148.5 505.88 L 161.5 505.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 295 305 L 320 330 L 295 355 L 270 330 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 362px; margin-left: 295px;"><div data-drawio-colors="color: rgb(0, 0, 0); background-color: #ffffff; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">ОК?</div></div></div></foreignObject><text x="295" y="374" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">ОК?</text></switch></g><path d="M 215 330 L 255.88 330" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 268.88 330 L 255.88 336.5 L 255.88 323.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><ellipse cx="295" cy="445" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-width="3" pointer-events="all"/><path d="M 280.6 457.5 L 290.13 435.27 L 298.56 448.23 L 309.6 432.15 L 299.81 455.95 L 291.38 444.99 Z" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 477px; margin-left: 295px;"><div data-drawio-colors="color: rgb(0, 0, 0); background-color: #ffffff; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">Not agreed</div></div></div></foreignObject><text x="295" y="489" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Not agre...</text></switch></g><path d="M 295 355 L 295 405.88" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 295 418.88 L 288.5 405.88 L 301.5 405.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 295 535 L 320 560 L 295 585 L 270 560 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 592px; margin-left: 295px;"><div data-drawio-colors="color: rgb(0, 0, 0); background-color: #ffffff; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">ОК?</div></div></div></foreignObject><text x="295" y="604" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">ОК?</text></switch></g><path d="M 295 535 L 295 484.12" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 295 471.12 L 301.5 484.12 L 288.5 484.12 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 215 560 L 255.88 560" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 268.88 560 L 255.88 566.5 L 255.88 553.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><ellipse cx="415" cy="445" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-width="3" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 477px; margin-left: 415px;"><div data-drawio-colors="color: rgb(0, 0, 0); background-color: #ffffff; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">Agreed</div></div></div></foreignObject><text x="415" y="489" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Agreed</text></switch></g><path d="M 320 560 L 415 560 L 415 484.12" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 415 471.12 L 421.5 484.12 L 408.5 484.12 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 320 330 L 415 330 L 415 405.88" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 415 418.88 L 408.5 405.88 L 421.5 405.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 95 10 C 95 4.48 99.48 0 105 0 L 205 0 C 210.52 0 215 4.48 215 10 L 215 70 C 215 75.52 210.52 80 205 80 L 105 80 C 99.48 80 95 75.52 95 70 L 95 10 Z" fill="rgb(255, 255, 255)" stroke="none" pointer-events="all"/><path d="M 97 11 L 97 69 C 97 73.97 101.03 78 106 78 L 204 78 C 208.97 78 213 73.97 213 69 L 213 11 C 213 6.03 208.97 2 204 2 L 106 2 C 101.03 2 97 6.03 97 11" fill="none" stroke="none" pointer-events="all"/><path d="M 95 10 C 95 4.48 99.48 0 105 0 L 205 0 C 210.52 0 215 4.48 215 10 L 215 70 C 215 75.52 210.52 80 205 80 L 105 80 C 99.48 80 95 75.52 95 70 L 95 10 Z" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><rect x="148" y="66" width="14" height="14" fill="none" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 152 73 L 158 73 M 155 70 L 155 76" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 96px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Contract terms negotiations</div></div></div></foreignObject><text x="155" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Contract terms negot...</text></switch></g><ellipse cx="195" cy="85" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/><ellipse cx="195" cy="85" rx="23" ry="23" fill="none" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 180.6 97.5 L 190.13 75.27 L 198.56 88.23 L 209.6 72.15 L 199.81 95.95 L 191.38 84.99 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="7" pointer-events="all"/><ellipse cx="25" cy="40" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 274 10 C 274 4.48 278.48 0 284 0 L 384 0 C 389.52 0 394 4.48 394 10 L 394 70 C 394 75.52 389.52 80 384 80 L 284 80 C 278.48 80 274 75.52 274 70 L 274 10 Z" fill="rgb(255, 255, 255)" stroke="none" pointer-events="all"/><path d="M 276 11 L 276 69 C 276 73.97 280.03 78 285 78 L 383 78 C 387.97 78 392 73.97 392 69 L 392 11 C 392 6.03 387.97 2 383 2 L 285 2 C 280.03 2 276 6.03 276 11" fill="none" stroke="none" pointer-events="all"/><path d="M 274 10 C 274 4.48 278.48 0 284 0 L 384 0 C 389.52 0 394 4.48 394 10 L 394 70 C 394 75.52 389.52 80 384 80 L 284 80 C 278.48 80 274 75.52 274 70 L 274 10 Z" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><rect x="327" y="66" width="14" height="14" fill="none" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 331 73 L 337 73 M 334 70 L 334 76" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 275px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Signing contract</div></div></div></foreignObject><text x="334" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Signing contract</text></switch></g><ellipse cx="375" cy="85" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/><ellipse cx="375" cy="85" rx="23" ry="23" fill="none" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 360.6 97.5 L 370.13 75.27 L 378.56 88.23 L 389.6 72.15 L 379.81 95.95 L 371.38 84.99 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="7" pointer-events="all"/><ellipse cx="455" cy="40" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-width="3" pointer-events="all"/><path d="M 215 40 L 259.88 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 272.88 40 L 259.88 46.5 L 259.88 33.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 50 40 L 70 40 L 65 40 L 80.88 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 93.88 40 L 80.88 46.5 L 80.88 33.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 394 40 L 414 40 L 400 40 L 415.88 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 428.88 40 L 415.88 46.5 L 415.88 33.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 397.25 427.25 Q 350 380 345 305 Q 340 230 290 170 Q 240 110 240 50.1" fill="none" stroke="#b20000" stroke-width="3" stroke-miterlimit="10" stroke-dasharray="9 9" pointer-events="stroke"/><path d="M 240 43.35 L 244.5 52.35 L 240 50.1 L 235.5 52.35 Z" fill="#b20000" stroke="#b20000" stroke-width="3" stroke-miterlimit="10" pointer-events="all"/><ellipse cx="375" cy="175" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-width="3" pointer-events="all"/><path d="M 375 110 L 375 130 L 375 120 L 375 135.88" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 375 148.88 L 368.5 135.88 L 381.5 135.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><ellipse cx="195" cy="175" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-width="3" pointer-events="all"/><path d="M 280.47 424.66 Q 220 340 240 275 Q 260 210 211.2 116.14" fill="none" stroke="#b20000" stroke-width="3" stroke-miterlimit="10" stroke-dasharray="9 9" pointer-events="stroke"/><path d="M 208.08 110.16 L 216.23 116.07 L 211.2 116.14 L 208.24 120.22 Z" fill="#b20000" stroke="#b20000" stroke-width="3" stroke-miterlimit="10" pointer-events="all"/></g></svg></diagram>
 ===== ✘ How NOT to ===== ===== ✘ How NOT to =====
  
-Put antipattern (BPMN diagrams) here +<diagram><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="481px" height="81px" viewBox="-0.5 -0.5 481 81" content="&lt;mxfile host=&quot;embed.diagrams.net&quot; modified=&quot;2024-01-11T20:49:21.140Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36&quot; etag=&quot;ABXA-hMj33heMggPp9Qd&quot; version=&quot;22.1.18&qu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/8hMEZR83mBo5s3g/beR8K/hdG4WYEhej/oDB/lcHwL1Hwvb6j2b8jIfjCJMxGSJhfisKh2f160ph3P0KFd38A&lt;/diagram&gt;&lt;/mxfile&gt;"><defs/><g><path d="M 95 10 C 95 4.48 99.48 0 105 0 L 205 0 C 210.52 0 215 4.48 215 10 L 215 70 C 215 75.52 210.52 80 205 80 L 105 80 C 99.48 80 95 75.52 95 70 L 95 10 Z" fill="rgb(255, 255, 255)" stroke="none" pointer-events="all"/><path d="M 97 11 L 97 69 C 97 73.97 101.03 78 106 78 L 204 78 C 208.97 78 213 73.97 213 69 L 213 11 C 213 6.03 208.97 2 204 2 L 106 2 C 101.03 2 97 6.03 97 11" fill="none" stroke="none" pointer-events="all"/><path d="M 95 10 C 95 4.48 99.48 0 105 0 L 205 0 C 210.52 0 215 4.48 215 10 L 215 70 C 215 75.52 210.52 80 205 80 L 105 80 C 99.48 80 95 75.52 95 70 L 95 10 Z" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><rect x="148" y="66" width="14" height="14" fill="none" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 152 73 L 158 73 M 155 70 L 155 76" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 96px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Contract terms negotiations</div></div></div></foreignObject><text x="155" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Contract terms negot...</text></switch></g><ellipse cx="25" cy="40" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 274 10 C 274 4.48 278.48 0 284 0 L 384 0 C 389.52 0 394 4.48 394 10 L 394 70 C 394 75.52 389.52 80 384 80 L 284 80 C 278.48 80 274 75.52 274 70 L 274 10 Z" fill="rgb(255, 255, 255)" stroke="none" pointer-events="all"/><path d="M 276 11 L 276 69 C 276 73.97 280.03 78 285 78 L 383 78 C 387.97 78 392 73.97 392 69 L 392 11 C 392 6.03 387.97 2 383 2 L 285 2 C 280.03 2 276 6.03 276 11" fill="none" stroke="none" pointer-events="all"/><path d="M 274 10 C 274 4.48 278.48 0 284 0 L 384 0 C 389.52 0 394 4.48 394 10 L 394 70 C 394 75.52 389.52 80 384 80 L 284 80 C 278.48 80 274 75.52 274 70 L 274 10 Z" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><rect x="327" y="66" width="14" height="14" fill="none" stroke="rgb(0, 0, 0)" pointer-events="all"/><path d="M 331 73 L 337 73 M 334 70 L 334 76" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 275px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Signing contract</div></div></div></foreignObject><text x="334" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Signing contract</text></switch></g><ellipse cx="455" cy="40" rx="25" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-width="3" pointer-events="all"/><path d="M 215 40 L 259.88 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 272.88 40 L 259.88 46.5 L 259.88 33.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 50 40 L 70 40 L 65 40 L 80.88 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 93.88 40 L 80.88 46.5 L 80.88 33.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><path d="M 394 40 L 414 40 L 400 40 L 415.88 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 428.88 40 L 415.88 46.5 L 415.88 33.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/></g></svg></diagram>
 ===== Notes ===== ===== Notes =====
  
-Put extra comments here (this section is optional) +  * Technically, attached event can be omitted - in this case error event would stop the current subprocessthe subprocesses above and the top-level process. Yet if modelled this way, the significant aspects of the process behavior would be hidden so the good practice is to always depict the attached error event. 
- +  * If the attached event is named then it'd catch only the end error event with the same name. This way each end event can be processed separately. If the attached event is unnamed it'd catch all end error events.
-===== Exceptions ===== +
- +
-Specify exceptions to the rule above, if any +
 ===== See also ===== ===== See also =====
  
-Reference similar rules here (this section is optional) +  * Error event is the alternative to more simple technique of [[en:rule:check_subprocess_results | checking the suprocess results on exit]]. It's advantage is more compact diagram.
 ===== Author(s) ===== ===== Author(s) =====
  
-Put signature here+ --- //[[user:bell|Anatoly Belaychuk]] 2024-01-11 23:30//