Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to display current logged in user name not userid

Nivedita
Mega Expert

Hello,

I want to populate username (fullname) not user id in opened by family.Can anyone help?

find_real_file.png

1 ACCEPTED SOLUTION

Nikhil Phalke
Kilo Guru

Hi,

 

You can do this using the default value.

write below code:

javascript:gs.getUserDisplayName()

 

Please mark Helpful and Correct based on Impact.

Regards

Nikhil

 

View solution in original post

5 REPLIES 5

Thank you