WEBcnx 2024.1 is out now bringing with it a host of new features and performance enhancements. Read more.

Open navigation

AND Function

Applies from Version:WEBcnx 2024.1Applies to Version:


Description

The AND function takes a number of Boolean parameters and ensures that they all resolve to True.


Syntax 

AND(bool1, bool2, ...)


This function can take any number of Boolean parameters (though it must contain at least one).

Returns

A Boolean.


Remarks

  1. Returns True if all of its parameters are true, False if so much as one of its parameters are false.


Examples

Imagine we have two boolean fields in an Item Type, with the identifiers Height and Width.

ExpressionDescriptionResult
AND(2 < 4, 3 < 4)Checks if both 2 and 3 are less than 4.
True
AND(2 < 4, 5 < 4)Checks if both 2 and 5 are less than 4.False
AND(Height > 10, Width > 10)Checks if our Height and Width fields are both greater than 10.True or False, depending on Task Values


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

You may like to read -