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.

HI All

basha shaik
Tera Contributor

HI All,

 

i have one Choice field(sub category), and Reference Field(Configuration item).

 

My question is whenever user select under sub category values it's same values shows Configuration item.

 

Please any one suggest 

 

bashashaik_0-1733126353107.png

 

 

 

Thanks ADV

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@basha shaik Didn't get your question completely, if you wish to populate configuration item on the basis of sub-category then you need to have a mapping between sub-category and configuration item either in form of key-value pair or database records. You can then fetch this mapping via an onChange client script and a GlideAjax call which will make a call to a Server side script include by provide selected sub-catefory as an input and fetching associated configuration item. This CI then can be populated on the form.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @basha shaik 

 

May I know why you need CI as same as Sub Cat? Sub cat and CI  are 2 different fields and used for different purposes. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************