- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 02:01 PM
Hello Techies and Enthusiasts.
Please help me with this requirement.
How can we autopopulate the RITM/SCTASK fields for Configuration Item/Affected Customer values from the ticket selected on a catalog item form variable as shown below.
All suggestions are greatly appreciated. Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 08:37 PM
is that Ticket Number referring to cmdb_ci table?
what's your exact requirement?
You want to populate those 2 catalog variables based on Ticket number selected?
If yes then check this
Auto-populate a variable based on a reference type variable (Utah)
If not then what's your requirement?
If my response helped please mark it correct and close the thread so that it benefits future readers.
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-13-2025 09:10 AM
Hi @Zubair Alam,
Please follow the instructions I shared to Auto-Populate your fields. I believe I have answered your query in first place.
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 07:03 AM
Hi @Ankur Bawiskar
So the exact requirement is that whatever SCTASK a user picks from that field on this catalog item form, the affected customer/configuration Item values from that SCTASK should populate the affected customer/configuration item fields of the sctask that will get generated as a result of this form submittal.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 07:10 AM
so you can use auto populate feature as shared in my link
Auto-populate a variable based on a reference type variable (Utah)
OR
You can use onChange client script on that variable + GlideAjax and bring the value from CI and populate in those 2 variables
what did you start with and where are you stuck?
If my response helped please mark it correct and close the thread so that it benefits future readers.
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-13-2025 02:18 PM
@Ankur Bawiskar Thanks for all the help. It worked for me.