Conditions contain a list of statements which will be checked. The logic of the Condition only applies to the list of statements.
In an OR-Condition, only one contained statement needs to be true for the OR-Condition to return true.
In an AND-Condition every contained statement needs to be true for the AND-Condition to return true.
example:
AND{
-Statement 1
-Statement 2
-Statement 3
}
-> Statement 1,2 and 3 need to be true. The statements will be checked in the order as they appear in the list. If one returns false, the whole AND returns false.
OR{
-Statement 1
-Statement 2
-Statement 3
}
-> Statement 1,2 or 3 needs to be true. The statements will be checked in the order as they appear in the list. If all return false, the OR returns false.
Every action that can contain conditions represents an AND-condition. For example while, if-then-else, ... So their list of conditions uses is connected with an AND already. So you don't need to add an AND to connect multiple statements.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Conditions contain a list of statements which will be checked. The logic of the Condition only applies to the list of statements.
In an OR-Condition, only one contained statement needs to be true for the OR-Condition to return true.
In an AND-Condition every contained statement needs to be true for the AND-Condition to return true.
example:
AND{
-Statement 1
-Statement 2
-Statement 3
}
-> Statement 1,2 and 3 need to be true. The statements will be checked in the order as they appear in the list. If one returns false, the whole AND returns false.
OR{
-Statement 1
-Statement 2
-Statement 3
}
-> Statement 1,2 or 3 needs to be true. The statements will be checked in the order as they appear in the list. If all return false, the OR returns false.
Every action that can contain conditions represents an AND-condition. For example while, if-then-else, ... So their list of conditions uses is connected with an AND already. So you don't need to add an AND to connect multiple statements.