cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Re: Using validation rules to ensure a comments box is not left empty

Need more info Michelle, do you see any Javascript error, have you tried with a simple list and only 1 field ?

screenshot ?      

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Using validation rules to ensure a comments box is not left empty

No am not getting any JavaScript error, Yes I tried it on simple form just a simple flexi task with the default nintex form form
I also added a Calculated value on the form to see what the values for the decision is and its returning -1 for both "reject" and "approve"

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Using validation rules to ensure a comments box is not left empty

The Decision value returned in my case is also -1 for both "Approve" and "Reject".

Michelle Modikoe‌ - Did you find any solution to it?

Regards,

Shyam

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Using validation rules to ensure a comments box is not left empty

Shyam Shinde‌ -  nope I did not get any solution regarding this!

0 Kudos
Accept as Solution Reply
Not applicable

Re: Using validation rules to ensure a comments box is not left empty

Hi,

Can you let other's know how you found the values for your decisions codes?  It will be helpful in setting up rules for validation.

Thank you,

Jennifer

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Using validation rules to ensure a comments box is not left empty

I found in my environment, I had to use 1 for approve and 2 for reject.

To verify, I did View Source to the page and found data-nfChoiceValue for the selections.

Version 2013 3.1.1.0

Accept as Solution Reply
Workflow Hero

Re: Using validation rules to ensure a comments box is not left empty

This scenario is not only applicable to the Request Approval workflow action, it's also applicable to the Assign Flexi task action!

Accept as Solution Reply
Not applicable

Re: Using validation rules to ensure a comments box is not left empty

This is the exact issue I'm having as well.  Both "Approve" and "Reject" are valued at -1.  I submitted a support request to hopefully get an answer.  We are using version 3.1.4.0

0 Kudos
Accept as Solution Reply
Not applicable

Re: Using validation rules to ensure a comments box is not left empty

Andrew this is correct, I have updated the documentation to reflect this.

Approve=1, Reject=2

Accept as Solution Reply
Workflow Hero

Re: Using validation rules to ensure a comments box is not left empty

Great! Thank you for reviewing it

0 Kudos
Accept as Solution Reply