A complex condition can have condition groups to dictate how the simple conditions in the complex condition should be evaluated.
In this example, the expression contains more than one logical operator.
Managed File Transfer
marks the condition as invalid and raises a compilation error when the project is compiled.
Example of Incorrect Grouping Expression
${a} eq ${b} and ${c} eq ${d} or ${e} eq ${f} and ${g} eq {h}
In order to properly group conditions and to guarantee a consistent result, manually group the conditions. This is done with the use of open and close parenthesis. The condition below will evaluate to true if a = b and c = d or e = f and g = h.
Example of Correct Grouping Expression
(${a} eq ${b} and ${c} eq ${d}) or (${e} eq ${f} and ${g} eq {h})
Condition groups can also be nested. Meaning a condition group can have one or more groups inside them. The condition below will evaluate to true if a = 2 and either b ≠ 4 or state = NE.