Skip to main content
The OR function represents a logical OR. If any logical expression in the function evaluates to true, the OR function returns true.

Supported Product Scenarios

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

Format

Attribute Descriptions

AttributeRequiredDescription
condition1YesThe logical expressions or conditions to evaluate.
Used to determine whether at least one of two or more conditions is true (that is, whether any condition is met).
  • If all conditions are false (logical value false), the OR function returns false.
  • If any condition is true (logical value true), the OR function returns true.
condition2Yes

Return Value

Usage Example

As shown in the figure below, if either Numerical 1 or Numerical 2 is greater than 2, the OR() function returns true; otherwise, it returns false.

Try It

Block form submission when any of the components meets the specified condition.