- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2022 03:31 AM
Hello, how can I auto populate the Configuration Item field based on the Caller's configurations items?
Is there a simple way to achieve this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2022 03:43 AM
Hi,
remember there can be more than 1 Ci assigned to Caller.
why not use advanced ref qualifier and filter the CIs
javascript:'assigned_to=' + current.caller_id;
If you still require then you can use onChange + GlideAjax on Caller field
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
‎09-05-2022 03:37 AM
Can you please explain more on your requirement?
How you want to auto populate with some screenshots?
Thanks,
Murthy
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2022 03:43 AM
Hi,
remember there can be more than 1 Ci assigned to Caller.
why not use advanced ref qualifier and filter the CIs
javascript:'assigned_to=' + current.caller_id;
If you still require then you can use onChange + GlideAjax on Caller field
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
‎09-05-2022 06:27 AM
Hi Ankur,
The javascript seems to work after a few modifications in the dictionary.
There was a value in dependent field which I deleted. I also set the dictionary overrides for incident and incident_task to false.
I don't know if you have to do this for the script to work oob, but I'm taking over the work of someone else.
Thanks for your answer!