Skip to content

if (Conditional Logic)

Compatible with:
  • Purpose
  • If the conditional evaluates to true then the series of commands listed in 'if block' will be executed. If the expression evaluates to false it jumps to 'else block' and execute commands below the 'else' command until 'endIf' command is encountered. Every 'if' command should end with 'endIf' command (whereas 'else' command is optional).
    Note: For comparing strings please use double quotes. Example: "${name}"=="Worksoft SaaS".
  • Syntax
  • if(conditional)
  • Target
  • conditional 
  • Value
  • N/A
  • Return Value
  • N/A

 

Feedback and Knowledge Base