cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
lee_hoselton
Nintex Newbie

Get display names from a Person and Group column in a custom workflow task

Jump to solution

I am trying to build out workflow logic that assignes a to-do task.  On that task, I have a person and group column that the task owner will specify employees that are bidding on open internal positions.  I then plan to input these names into an email notification action that willl be sent out to our HR team.

 

I've been able to pull the values from this person and group column by using a Query List action.  However this is pulling their account name rather than there display name.  I can't seem to find an option to format the data as display name in this scenario like I can with person/group columns on the form the workflow is running on.

 

Does anyone know of a method to obtain Display names from a person and group column on a workflow task?

Labels: (1)
0 Kudos
Reply
2 Replies
brianknight
Nintex Newbie

Re: Get display names from a Person and Group column in a custom workflow task

Jump to solution

Not sure about Groups, but I'm sure it can be done.  Here is how I do it for an individual person.  Create a workflow variable and make it a single line of text.   Set the value of the variable with this setting:

Capture.JPG

In your circumstance, your source will most likely be your variable you used for query item.  My source is the list item.  Hope this helps.  

0 Kudos
Reply
Automation Master
Automation Master

Re: Get display names from a Person and Group column in a custom workflow task

Jump to solution

@lee_hoselton ....Follow below steps:

 

  • Query your list and get the collection of your users in collec variable
  • Using For each, store each user in SLT variable
  • Inside that for loop, use Set Variable action and configure as shown in below screenshot

SC05.jpg

  • When you click the 3 dots (2nd circle) you get the different options
  • If you want to re-create the collections with Display Name then you can use the Build String to create the collection and store it in a different SLT variable and use it

View solution in original post

0 Kudos
Reply