Definition and Usage
The Else If with multiple conditions command is used for conditional execution. It decides whether certain commands need to be executed or not. It checks for multiple given conditions, then executes the command(s) present under the condition otherwise not. It checks for multiple given conditions, then executes the command(s) present under the condition otherwise not.
Parameters Values
Parameter | Description |
| Execute when the listed conditions are all met. |
| Execute if any of the listed conditions are met. |
| Select a condition between the i.e., "Greater than (>)", "Equals to (=) ", or "Less than (<)". |
Example
The above example of a workflow will start off by using the If
command to check if 10 is greater than 20. If this is the case, the workflow will print an information log message the "If" command is correct
and then it will end. However, since the result of this command is false, the workflow will move on to the next part: a Else If - multiple condition
command. This command will check if 10 is greater than 5 and also if 3 is less than 5. If both of these conditions are met, the workflow will print a log message saying that the "else If" command is correct
.