On Change Client Script - Category Based on Service

Chris_Wilkinson
Tera Expert

Hi, 

I need to create an on-change client script for the incident form to make the category field visible and mandatory when the business service is set to specific values. Does anyone know what the script would be to achieve this? 

Kind Regards

 

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Chris_Wilkinson 

 

You can use the UI policy for this. It will be low code.

 

LearnNGrowAtul_0-1706284575154.pngLearnNGrowAtul_1-1706284639129.png

 

 

*************************************************************************************************************
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]

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

View solution in original post

5 REPLIES 5

Chris_Wilkinson
Tera Expert

Hi all

 

thanks for the replies. Ui policy was my first thought as well but according to our ATF Team the UI policy causes one of the @Alp Utku I will give that a try thanks 🙂