-
Bug
-
Resolution: Obsolete
-
Critical
-
None
-
None
-
None
I have a simple flow which includes some events. Main flow has Event Wait node and End node. When i get event I update session and Event Wait completes and reaches End node but process doesn't end, it remains active. I found a workaround - End node with Terminate=true. But it's not good for many situations, i have to add terminating End nodes to such flows and add some logic to check if all other paths ended...
Is it expected behavior?
Documentation is vague:
An End node can be terminating for the entire process (default) or just for the path. If the process is terminated, all nodes that are still active (on parallel paths) in this ruleflow are cancelled. Non-terminating End nodes are simply ends for some path, while other parallel paths still continue.
It's logical to expect process to end when all parallel paths end. But it doesn't end even with only one path!