Next if

“Next if” means only run the following step(s) if an argument value matches a specified condition. The number of steps to skip when the condition isn’t met can be configured. Another way of thinking of “Next if” is “Skip unless”.

The condition can be either ‘matches’ or ‘does not match’, selected from a pull-down. There is a checkbox that enables the use of regular expressions in the condition. At the bottom of the page there are buttons for commonly use regular expressions like ‘is numerical’, ‘is empty’, or ‘always matches’.

It is possible to build fairly advanced connectors with careful use of nested next-if steps. Here an example of a if-then-else construct:

  • Next-if skip 3 steps if some condition
    • Do something
    • Do something more
    • Next-if (skip 1 step) if always-matches
      • Do something else
  • Continue processing