- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2023 04:29 AM - edited ‎09-24-2023 11:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2023 05:05 AM
That's fine.
What I am saying is there is no script required to auto-populate the text variables whenever user selects the catalog item reference variable.
If you use Utah's auto-populate feature it will happen without script.
Did you explore that?
I already provided solution in the form of link for that feature. you just need to configure it for your text variables as dependency on the reference variable
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
‎09-11-2023 05:30 AM
Hello @Deepika Ravindr
The solution given by Ankur is more feasible and easy.
e,g., If you want to populate 'Short description' of catalog item which you have selected in "Please select catalog item to update" then go to the Variable "Short description" (your variable name may be different) and use "Auto Populate" option.
Dependent Question = Please select catalog item to update
Reference = will be auto populate
Dot walk path = short description
Please see the below screenshot
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2023 05:05 AM
That's fine.
What I am saying is there is no script required to auto-populate the text variables whenever user selects the catalog item reference variable.
If you use Utah's auto-populate feature it will happen without script.
Did you explore that?
I already provided solution in the form of link for that feature. you just need to configure it for your text variables as dependency on the reference variable
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
‎09-11-2023 05:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2023 04:45 AM
Hi Deepika,
Fetch them using Script from server to client and auto-populate.
Table: sc_cat_item.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2023 05:30 AM
Hello @Deepika Ravindr
The solution given by Ankur is more feasible and easy.
e,g., If you want to populate 'Short description' of catalog item which you have selected in "Please select catalog item to update" then go to the Variable "Short description" (your variable name may be different) and use "Auto Populate" option.
Dependent Question = Please select catalog item to update
Reference = will be auto populate
Dot walk path = short description
Please see the below screenshot
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
