Difference between revisions of "Action: If clause"

(Created page with "This action allows to execute a set of subsequent actions according to specific condition(s). The possible conditions are the same as constraints (see Constraints: List of...")
Tags: Mobile web edit Mobile edit
 
Tags: Mobile web edit Mobile edit
 
Line 1: Line 1:
 
This action allows to execute a set of subsequent actions according to specific condition(s).
 
This action allows to execute a set of subsequent actions according to specific condition(s).
  
The possible conditions are the same as constraints (see [[Constraints: List of Constraints|List of Constraints]]) and are tested in exactly the same way, with logical connectors 'AND' (default one) or 'OR' in case of multiple conditions.
+
The possible conditions are the same as constraints (see [[Constraints]]) and are tested in exactly the same way, with logical connectors 'AND' (default one) or 'OR' in case of multiple conditions.
  
 
When the condition depends on the content of string variable, there are 4 ways to test it:
 
When the condition depends on the content of string variable, there are 4 ways to test it:

Latest revision as of 15:20, 28 June 2021

This action allows to execute a set of subsequent actions according to specific condition(s).

The possible conditions are the same as constraints (see Constraints) and are tested in exactly the same way, with logical connectors 'AND' (default one) or 'OR' in case of multiple conditions.

When the condition depends on the content of string variable, there are 4 ways to test it:

  • = (equal sign) means that the whole content of the string variable has to be equal to the whole set of typed characters
  • != means that the content of the string variable has to be unequal (i.e. different) to the set of typed characters
  • Contains means that the content of the string variable has to contain the whole set of typed character. For instance, enter the word information to match with a string variable containing the text: Here are the informations you asked for...
  • Excludes means that the content of the string variable has not to contain the typed text


The wildcards '*' and '?' have the following meaning:

  • * stands for any number of character (from 0 to any, same as '.*' in Regex)
  • ? is for 1 and only 1 mandatory character (same as '.{1}' in Regex).


Tick the box Enter regular expression matching if the typed text follows Regex syntax, far more powerful than plain text with or without wildcards (for advanced users).