Skip to main content
The AND function represents logical conjunction. It returns true only when every logical expression inside the function evaluates to true. Otherwise, it returns false.

Supported Product Scenarios

The AND function is available in the following YiDA scenarios:
  • Form (main table fields)
  • Form (business association rules)
  • Form (validation)
  • Workflow design (validation rules)
  • Workflow design (associated actions)
  • Integration and automation
  • Workflow node
  • Connector

Syntax

Attributes

AttributeRequiredDescription
condition1YesThe logical expression or condition to evaluate.
Used to check whether two or more conditions are all true (that is, whether all specified conditions are met).
  • If every condition is true, the AND function returns true.
  • If any condition is false, the AND function returns false.
condition2Yes

Return Value

Example

As shown below, the AND() function returns true only when both Number1 and Number2 are greater than 2. Otherwise, it returns false.

Try It Out

Form submission is blocked when multiple components meet the specified conditions simultaneously.