Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Seeking Solution for Product Field Mapping on Case Table

mdshahvez11
Tera Contributor

Hello Everyone,

On the sn_customerservice_case table, the field Product is a reference to the cmdb_model table. The requirement is: when a user selects a product in this field, three fields on the case — category, model, and sub-category — should automatically populate from the selected product record.

Currently, I have tried:

  1. onChange Client Script – but it doesn’t work correctly for all records and sometimes breaks in between.

  2. GlideAjax approach – but it’s also not giving the desired result consistently.

I am looking for a robust and reliable solution to auto-populate these fields whenever a product is selected.

Any suggestions or best practices would be greatly appreciated.

0 REPLIES 0