cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Automation Master
Automation Master

How to comapre two people picker controls?

Jump to solution

let's have two people picker controls on a form.

let first one to be populated manually by the user => people picker value does include claim string.

let second one to be populated by a javascript through NF.PeoplePickerApi functions search() + add() => people picker value doesn't includes claim string.

if I compare the two PPs containing the same user object their values do not match. it doesn't matter whether I try it with calculate control (or rules) or within javascript.

is there any native way how to do that?

I know I could do some string or regex manipulations to achieve match but I would prefer some kind of transparent way regardless of how PPs were populated.

Labels: (3)
0 Kudos
Reply
5 Replies
Highlighted
Automation Master
Automation Master

Re: How to comapre two people picker controls?

Jump to solution

no hints?

could Nintex Support​ look on it and clarify whether it is intended or a bug?

thanks.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: How to comapre two people picker controls?

Jump to solution

finally used userEquals() function for compare.

I do not like too much how does it perform the compare, but haven't found any better way.

View solution in original post

Reply
Highlighted
Not applicable

Re: How to comapre two people picker controls?

Jump to solution

‌, any chance Support can confirm if this is a bug or no?

Thanks!

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: How to comapre two people picker controls?

Jump to solution

I did report it to support, they recommended to use the function.

for time being it was acceptable solution for me, but  I was told (not by support) the way how function internally works could be risky in certain scenarios.

Reply
Highlighted
Not applicable

Re: How to comapre two people picker controls?

Jump to solution

Feel free to mark your own solution, Marian.  

Thanks!

0 Kudos
Reply