Skip to main content
Search Again

We think these articles could help you:

    See More
    Nintex Knowledge Base

    Equals Function for a Decision Control Always Returns False

    Status: Validated

    ISSUE
    On a Task form, when using an equals() function in a rule or calculated value control, the function always returns False, regardless of the actual conditions. For example: equals(Decision,2) always returns False even when it’s True.
    ERROR CODE
    RESOLUTION

    Option 1

    Ensure that the condition in the formula is enclosed in double quotation marks. For example: (Decision,”2”)

    Option 2

    Format the formula as follows: Decision =="2"
    ADDITIONAL INFORMATION
    This is likely because the decision control is not returned as an Integer and it fails to compare in the equals function. 
    RELATED LINKS