- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2022 06:27 PM
Hi,
I am wondering if it is possible to get the user information of whoever ran a specific UI action in the UI action being run. I need the user initials in my UI action script. I am not sure if this is possible, but if so does anyone know how to do it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2022 06:50 PM
Hi,
you can check in the onSubmit client script which UI action got clicked
you can get the logged in user's sys_id in client script which tells you who clicked it
Identifying UI Action Clicked (The Right Way)
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2022 06:50 PM
Hi,
you can check in the onSubmit client script which UI action got clicked
you can get the logged in user's sys_id in client script which tells you who clicked it
Identifying UI Action Clicked (The Right Way)
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 07:05 AM
Hi,
How can I get the sysid?