We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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