====== Use event gateways with caution ====== {{tag>gateway parallel_gateway event_gateway}} Event gateway immediately interrupts all catching events when any single one occurs. For more versatile logic consider the combination of parallel gateway and terminating event. ===== ✔ How to ===== Flow_1v91670 Flow_1v91670 Flow_1bmuvfd Flow_1omf6ox Flow_1x386gx Flow_0tjh6sh Flow_0vj1spf Flow_1fpmuu7 Flow_1omf6ox Flow_0tjh6sh Flow_0vj1spf Flow_0v7giyt Flow_0v7giyt Flow_0xssdyb Flow_1fpmuu7 Flow_0xssdyb Flow_1bmuvfd Flow_1x386gx ===== ✘ How NOT to ===== Flow_0opoyid Flow_1tv5ius Flow_11x2rmj Flow_1j4cmln Flow_1elj1ik Flow_11x2rmj Flow_0opoyid Flow_104xfj6 Flow_1tv5ius Flow_06rckk1 Flow_06rckk1 Flow_0eyb0h5 Flow_083x67t Flow_1j4cmln Flow_0eyb0h5 Flow_104xfj6 Flow_083x67t Flow_1elj1ik ===== Notes ===== Mind the difference between the diagrams below: while "to do" process waits for the message all the time till the end, "no to do" process interrupts when the timer triggers. If the message arrives while we are clarifying delay with the client, it won't be caught and the process will hang after returning to the event gateway. ===== See also ===== * [[en:rule:control_branch]] ===== Автор(ы) ===== --- //[[user:bell|Anatoly Belaychuk]] 2023-09-10 12:51//