Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Managed File Transfer User Guide

Managed File Transfer User Guide

Condition Grouping

Condition Grouping

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.
Example
(${a} eq 2 and (${b} ne 4 or ‘${state}’ eq ‘NE’))

0 COMMENTS

We’d like to hear from you!