Compare people field to current user?


Badge +8

On a Nintex form, I want to have a calculated value field that compares a user name in a people field to the current user.

I have tried:

equals(Current User,ctrlParticipant)

and

userEquals(Current User,ctrlParticipant)

and

Current User == ctrlParticipant

Each time the form shows as blank and if I turn on the debugger, I can see various errors being generated?

How do I compare a people field to the current user??


2 replies

Badge +3

Hi Bruce,

this should works,

userEquals(Current User,ctrlParticipant)

203309_pastedImage_1.png

Badge +8

Looks like it was actually another calculated value causing the issue.  Worked fine one its own but not other calculated values were added.

Reply