The CreatorCon Call for Content is officially open! Get started here.

Make Reason field mandatory only when submitted for approval by clicking on Request approval button.

Admin7267
Kilo Sage

Make Reason field[Choice] mandatory only when submitted for approval by clicking on Request approval button in Change Request.

2 REPLIES 2

SLK Gupta
Tera Guru

Hi @Admin7267 

 

You can use an on submit client script for this @Admin7267 

 

if my response helps you in fulfilling your requirement, please mark my answer as helpful or accepted solution @Admin7267 .

 

Thanks & regards,

S. Lakshmikanth Gupta.

 

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Admin7267 

 

You need to add the validation in UI action.

 

Few examples

 

https://www.servicenow.com/community/developer-forum/how-to-make-fields-mandatory-in-ui-action/m-p/1...

https://www.servicenow.com/community/now-platform-forum/ui-action-mandatory-field/m-p/1261408

 

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

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