In case anybody else struggles with Method 1 and quering LDAP I had to use the following Query:
Note: objectCategory=Person not objectCategory=User and the close brackets at the end of the query.
Tried to figure this out years ago and due to time restrictions, I found another way or told the business that they have to just live with the ID being presented. The way this article was written, it actually made the steps very clear! and I was able to do this for once!
Thank you for this article!!!!!!!
It looks like you've been a Nintex Connect community member since just a few months after it launched. I'm really glad to know when long-time member dips in a toe and finds something useful, even after a few years. I hope this success breeds many more visits and many more successes!
All the best,
Your community manager
Thanks for providing the solution of removing the claims username i:0#.w|DOMAIN\USERNAME format in the Regular Expression. Solution is to put i:0#.w\|Domain\\ in the Pattern of the Regular Expression.
I know this is an older post, but you use the 'Set Variable' action and set the variable to the field value & set the return type as 'Display Name'. This avoids calls to web services etc.