how to auto populate catalog item field value from a decision table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 01:02 AM
I need to auto-populate a text field in a catalog item from decision builder results. Please let me know how can I achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 01:20 AM
Hi @nagakarthik0721 ,
Please use Client-callable Script Include + Catalog Client Script (onLoad or onChange) to fetch the result and auto-fill the target variable dynamically. Use GlideAjax to call your Script Include and pass relevant variable values and the catalog item sys_id.
Try this once and let me know. If you find this helpful, please accept this as a solution and hit the helpful button..
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 01:23 AM
Please use Ajax to call DecisionTableAPI - Scoped, Global | ServiceNow Developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 01:43 AM
decision builder is basically used to drive backend process in flow etc
but in case you want to use then you can use DecisionTable API and then you can use GlideAjax + onChange catalog client script to fetch and set
this link explains it well
How to use Decision Table from scripts
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