Skip to main content
Nintex Community Menu Bar

People Picker Name to string

  • April 22, 2021
  • 2 replies
  • 611 views

AndrewRobinson
Forum|alt.badge.img+2

Hi,

I have a form that uses people picker. I need to copy the people picker name and change it into a string so I can store the persons name as a string and save it in a workflow collection variable (to be used in a generated document).

 

Thanks for any help.

 

Andrew

2 replies

Forum|alt.badge.img+14
  • Nintex Employee
  • April 22, 2021

@AndrewRobinson People picker controls allows you choose the properties by clicking on the 3 little meatballs next to the field, that should allow you to get what you need and store as a string.

 

 


Forum|alt.badge.img+12
  • Rookie
  • May 7, 2021

@AndrewRobinson ...is people picker has multiple names of the single name? If it's a single name then as @leighburke suggested, you can set the string variable to lookup current item people picker field and select display name from clicking 3 dots "...".

 

If they have multiple or combinations then you need to:

 

  1. Use RegEx & people picker column to store them in a collection.
  2. Using For Loop get each name in the single text variable
  3. Using Set Variable get the display name
  4. Store that value in a collection or use that single value in each loop