Skip to main content
Nintex Community Menu Bar

Equals Function for a Decision Control Always Returns False

  • March 26, 2021
  • 0 replies
  • 47 views

KB_Admin
Nintex Employee
Forum|alt.badge.img+8

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.

 

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.