A boolean is a data type that represents one of two possible values: true or false. Booleans are used to make logical decisions in a program, control the flow of code through conditional statements, and determine whether a certain condition is met or not.
This category contains Ruleset Actions that accept/analyze boolean input(s); these actions all return a boolean output. These are used commonly to check or react to upstream rule results and are generally used to customize a Rule's condition.
Video: See the Cleo Community video series on Boolean Actions.
And
Determines if all of the selected boolean values (up to 10) are true and returns a boolean value.
- Returns true only if all input booleans are true.
- If all values are null then returns null.
BooleanEquals
Determines if two boolean values are equal and returns a boolean value.
- If both properties are equal, then returns a boolean of true.
- If both properties are null, then returns a boolean of true.
- If only one property is null, then returns a boolean of false.
BooleanNotEquals
Determines if two boolean values are not equal and returns a boolean value.
- If both properties are equal, then returns a boolean of false.
- If both properties are null, then returns a boolean of false.
- If only one property is null, then returns a boolean of true.
IsFalse
Determines if a boolean value is false and returns a boolean value.
- If the boolean is null, then returns false;
- If the boolean is false, then returns true;
- If the boolean is true, then returns false.
IsTrue
Determines if a boolean value is true and returns a boolean value.
- If the boolean is null then returns false;
- If the boolean is true, then returns true;
- If the boolean is false, then returns false.
Not
Changes a boolean value from false to true, or from true to false, and returns a boolean value.
- If the boolean is null, then returns False;
- If the boolean is False, then returns True;
- If the boolean is True, then returns False.
Or
Determines if any of the up-to-10 boolean values are true and returns a Boolean value.
- Returns true if at least one input boolean is true.
- If all values are null then returns null.
- Returns the boolean result Or for all non-null booleans.
Comments
0 comments
Please sign in to leave a comment.