- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 07:10 AM
Hi,
We are designing a solution where category and subcategory should be autopopulate in Incident record producer on basis of short description.
I have created a client script and it can be done by hard coding keyword and then setting category and subcategory.
Please advise if this is right solution. We have also proposes predictive intelligence but our client are not going with that approach.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 07:43 AM
Thanks for the update Amit. One of the possible options is to create a custom table to maintain the relationship between the short description/category/subcategory. Now you can create a catalog script + GlideAjax to populate cat and sub cat based on short description variable. This will enable your admins to modify the values in a table without the need to modify the Client script(*hardcoded values).
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 07:14 AM
No. Never interrupt or confuse the customer experience, ever. If you want it automatic, then there's no need for them to be bothered with the fields.
You can still use whatever mechanisms you like to attempt category / subcategory population POST-submission though.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 07:17 AM
Hello Amit,
I prefer using a Record producer script (or a script include ) to populate the information on the incident table.
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 07:26 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2020 07:43 AM
Thanks for the update Amit. One of the possible options is to create a custom table to maintain the relationship between the short description/category/subcategory. Now you can create a catalog script + GlideAjax to populate cat and sub cat based on short description variable. This will enable your admins to modify the values in a table without the need to modify the Client script(*hardcoded values).
- Pradeep Sharma