====== Use default flow only in executable models ======
{{tag>default_flow}}
Use default flow outgoing from the exclusive gateway only if the model to be executed by a process engine.
===== ✔ How to =====
Executable model:
Flow_0i4dirv
Flow_0ka3lo7
Flow_1ps4vkt
Flow_1ps4vkt
Flow_00j2hvl
Flow_0qwic4b
Flow_1ytsb8j
Flow_00j2hvl
Flow_0i4dirv
Flow_0qwic4b
Flow_1ytsb8j
Flow_1cpgayi
Flow_1s9xphs
Flow_0ka3lo7
Flow_1s9xphs
Flow_1cpgayi
Non-executable model:
Flow_0i4dirv
Flow_0ka3lo7
Flow_1ps4vkt
Flow_1ps4vkt
Flow_00j2hvl
Flow_0qwic4b
Flow_1ytsb8j
Flow_00j2hvl
Flow_0i4dirv
Flow_0qwic4b
Flow_1ytsb8j
Flow_1cpgayi
Flow_1s9xphs
Flow_0ka3lo7
Flow_1s9xphs
Flow_1cpgayi
===== Notes =====
* When used in the executable model, the default flow guarantees that the process will continue even if there is a mistake in the flow conditions. E.g. there may be a gateway controlled by a boolean attribute stored in a database. Process designer may define flow conditions as "if value is TRUE" and "if value is FALSE". It'd be a mistake because the attribute value may be also NULL. Therefore it's more robust to define explicit condition for one flow and mark the other as default flow.
* In case of analytical model default flow doesn't add value but may confuse reader.
===== Exceptions =====
The above applies to exclusive gateways only. As for exclusive gateways, the default flow is useful both in executable and non-executable models:
Flow_0v7gy70
Flow_1q65gr0
Flow_1fiufcu
Flow_0v7gy70
Flow_1yo36j4
Flow_1q65gr0
Flow_0lb8qxs
Flow_0lb8qxs
Flow_1yo36j4
Flow_1fiufcu
===== See also =====
* [[en:term:analog_process]]
* [[en:term:digital_process]]
===== Author(s) =====
--- //[[user:bell|Anatoly Belaychuk]] 2024-03-24 18:32//