Making Service offering field mandatory in Change Request Form

Piyush Dwivedi
Tera Contributor

In Change Request form how to make service offering field mandatory When a user selects a Service in the "Service" field that belong to Business Service or Technical Service CI class

1 ACCEPTED SOLUTION

Hi @Piyush Dwivedi 

 

Make sure you added the table first in UI policy

 

DrAtulGLNG_0-1749136406021.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

22 REPLIES 22

Thanks Atul for support.

Appreciated.

Hello Atul,

 

I tried above suggestions and selected the Table as "change_request" but its not working.

Hi @Piyush Dwivedi 

Surprisingly, it’s not working for me either. Please take a look here.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0690048

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

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

Thanks, another use case, how we can achieve below requirement:

If the selected Service is not part of the newly defined CSDM-aligned Services  ("Business Service" and "Technical Service" CI class), then the "Service Offering" field should remain optional?

Can be achieved using the client script and script include I proposed.