14-12-18 04:17 AM
14-12-18 07:17 AM
26-03-25 09:41 AM
Hello @RicardoCabrera
As we know, a decision stage is for evaluating single condition which results in true or false. And a choice stage meant to use when there are multiple conditions (works like switch-case).
If you want to replace a choice stage with a single decision stage, it can done with using logical operands (AND, OR) between those conditions as required only if the conditions are dependent like [fieldA] > 50 AND [fieldB] < 20.
But, if the conditions are independent on each other, i.e, [fieldA] < 50, [fieldA] >= 50 are two conditions which cannot be given in a single decision stage because both have their own routes.
You can also go with multiple decision stages if the conditions are dependent on each other. But the recommended is to go with Choice stage, as it gives the output in one go.
And also using decision stage makes it unreadable with more conditions and multiple evaluations slow down execution.
I hope this is clear.