flow variable to display user name

sparkles
Tera Contributor

Hi,

I created flow variable so I can use it to display user name in the description field. However I am getting nothing.

This is how i set it up:

 

sparkles_0-1741815605770.png

sparkles_1-1741815652531.png

this is the result (I am getting the email but not the name): 

 

sparkles_2-1741815910687.png

 

 thanks!

 

1 ACCEPTED SOLUTION

@sparkles 

I could see it doesn't work

Use Lookup Record on sys_user within your for each with condition as

SysId == For Each->MRVS->User

Then use output from Lookup Record and dot walk to Name field in next step

AnkurBawiskar_0-1741872057979.png

 

AnkurBawiskar_1-1741872095862.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

10 REPLIES 10

SAI VENKATESH
Tera Sage
Tera Sage

Hi @sparkles 

 

@can you provide more info by showing full flow from top.

 

if you are dot walking user table then you can directly select it

 

Regards,

Sai Venkatesh 

Ankur Bawiskar
Tera Patron
Tera Patron

@sparkles 

please make the flow variable type as String and then when you set that flow variable dot walk to the User after you perform the Lookup Record

Please share some screenshots

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

sparkles
Tera Contributor

Hi @Ankur Bawiskar ,

I got user record sys id (see below)

sparkles_0-1741867975876.png

 

@sparkles 

how did you add that? share that complete screenshot

If you are dot walking then dot walk to Name field

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader