OR

  • Last update: July 17, 2025
  • Overview

    Syntax

    OR(Expression 1, Expression 2, ...)

    Evaluates a series of expressions and returns true if at least one expression is true.

    Parameter 1

    Expression 1, Expression 2, ...

    Data to be judged

    Return Value Type

    Boolean

    Notes

    1. Expressions are allowed to be numeric and boolean expressions.

    2. The function returns true if all expressions are true and returns false if any expression is false. 

    • Non-zero values are considered true.

    • Zero values are considered false.

    • When a NULL value is involved in the evaluation of an expression, the result of the entire operation will also be NULL.

    Example

    Formula
    Result

    OR(1+7=9,5+7=11)

    false

    OR(1+7=8,5+7=11)

    true

    For example, add a Data Transformation node and drag in a New Calculation Column operator. To check if the purchase quantity or contract type meets the conditions, input the formula OR(#{Purchase_Quantity}>1,#{Contract_Type}="Long-Term Agreement Order"), as shown in the following figure.

    3-1.png

    If one expression is true, the function returns true. Otherwise, the function returns false, as shown in the following figure.

    3-2.png

    附件列表


    主题: Data Development - Scheduled Task
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy