Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

Hi @Chris_Wilkinson 

 

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

 

LearnNGrowAtul_0-1706284575154.pngLearnNGrowAtul_1-1706284639129.png

 

 

*************************************************************************************************************
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/dratulgrover [ 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 @AlpUtkuM I will give that a try thanks 🙂