- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 10:29 AM
When loading a form for the first time, how to make sure the current logged in user is showing ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 10:34 AM - edited ‎08-29-2024 10:35 AM
Hi @SonbolM add below code in Reference field default value field which will populate current logged in user javascript:gs.getUserID();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2024 10:16 PM
@Sandeep Rajput please show a bit of etiquette by not begging for correct answers. That's poor behavior from MVPs and Rising Stars. And to be honest, others already gave a correct answer before you did.
Please don't behave like this.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2024 12:16 AM
@Mark Roethof This one is a bit below the belt. I usually don't poke into someone else's business but this is not expected from an MVP like you.
The OP marked my response helpful and hence I requested him to mark it as an accepted solution, if it addressed his question. This in no way reflects me begging for the solution.
Also, I am trying to help as many folks as possible on the community and at times don't check what others are responding (multiple tabs opened side by side) sometimes I do miss to check if similar answer was already posted by someone else. This in no way reflects that I am trying to steal answer from someone else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2024 10:20 AM
Thank you all for responding to my question. Honestly as all your answers are correct ,I marked them all helpful .