Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

@Ankur Bawiskar 

It works now. Thanks for your help!!!!!