condition_from_variable_existence

Create a condition from the existence of a variable.

⚙️ Compatible targets: Linux, Windows

Parameters

NameDocumentation
conditionPrefix of the condition.

This parameter is required.
variable_nameComplete name of the variable being tested, like my_prefix.my_variable.

This parameter is required.

Example

method: condition_from_variable_existence
params:
  condition: VALUE
  variable_name: VALUE

Documentation

This method define a condition:

  • {condition}_true if the variable named from the parameter Variable name is defined
  • {condition}_false if the variable named from the parameter Variable name is not defined

Also, this method always result with a success outcome status.