Skip to main content
Nintex Community Menu Bar

Forms Rule Issue

  • December 13, 2019
  • 2 replies
  • 12 views

Forum|alt.badge.img+3

Hello,

 

I am having issues with getting a rule to work properly on my task form in Nintex.  The first part is working correctly and prompting that if the Decision is checked "Request Change" to prompt to not leave the comments blank.  When a comment is entered however, and you click OK it will not save and contine. 

 

5945i986B733871B5D8F0.png

5946i26F296FEFCECF93A.png

Attempts to modify the Rule to also check that the Comments are not blank when that option is checked have been unsucessfully.  I have tried so many various combinations I have lost track.  Some examples:

Decision!="1" and Comment=!""
Decision!="1" and isNullOrEmpty(Comment)

I am sure I am missing something obvious, but I have been looking at it too long.  This is the last thing needs to get resolve on this workflow from our initial testing rounds.

 

I would appreciate any insight someone might have for me to try to get this rule to validate correctly.

 

Thanks!

 

Devon

2 replies

Forum|alt.badge.img+12
  • Scholar
  • December 13, 2019

@dfox ....on the form Decision is a choice control with Approve & Request Change value then the rule should be:

 

and(Decision != "Approve", isNullOrEmpty(Comment))

 

Invalidate

 

"Your message....."


Forum|alt.badge.img+3
  • Author
  • December 13, 2019

Thank you so much!!!  Didn't think of putting the and at the beginning of the formula.


Devon