Validation of people field does not work in flexi task


Badge +1

Hi all,

I want to make a people field required, if a decision is approved within the flexi task.  I did it like it is descripted in several post within this forum: 

1. https://community.nintex.com/t5/Nintex-for-SharePoint/people-field-required-if-Approve-is-selected-in-a-Flexi-Task/td-p/26062

2. https://community.nintex.com/t5/Community-Blogs/Using-validation-rules-to-ensure-a-comments-box-is-not-left/ba-p/85225/page/2#comments

 

But it did not work for me. I´m also aware, that it is not shown in preview mode and I`ve checked if the value for "Approve" is "1".

Any ideas are welcome, because I´m kind of desperate. 

 

That´s what I´ve added  as a validation rule to the person field I want to validate:

(Decision=="1")&& isNullOrEmpty({Self})

 

 

 

 

 


2 replies

Userlevel 6
Badge +22

Hi,

 

I did a quick test for this.

On-premise I used:

Decision == 1 && isNullOrEmpty({Self})

And it worked.  No quotes on the number 1 and no parentheses around the statementts and it still worked.

 

If for some reason you are using Office 365 and have just posted in the wrong forum the formula would look like:

TaskOutcomne == "Approved" && isNullOrEmpty({Self})
Badge +1

Hi Simon,

 

thanks for your answer.

Even your statement did not work within this flexi task.

I´ve created then a new one and in this it works.

 

Thank you!

Reply