Based on the Opened for i want to use the onLoad script to auto populate the values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 06:22 PM
Hi,
Based on the Opened for i want to auto populate the Issue location, CCID, Simphony ID which are part of User table
here the condition would be i want to use only onLoad() client script, because i have used the auto populate option to populate but while i am impersonation or login as a user it is not working.
please advise how to create it by using the onLoad() client script
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 07:23 PM
auto populate should work in that case as well.
with which user you are doing the testing? they should probably should have read access to the table
Are you trying with snc_external user?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 07:49 PM
Yes correct.
Basically my aim is to if i login as a end user for example snc_internal user then he/she their details needs to be fill in the Issue location, CCID, Simphony ID
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 08:44 PM
which information is not getting populated?
you can always use default value in the variable? Issue location, CCID, Simphony ID are coming from user record?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 08:47 PM
Issue location, CCID, Simphony ID not getting populated but if i on change of user details in the opened for then it is working fine.
I need to write a onLoad client script.
Thanks,