How to set Additional Comments field mandatory to fill, whenever incident moved to canceled state.

HrishabhKumar
Kilo Sage

I have the following requirement:

Whenever an incident is moved to cancelled state, Additional Comments [comments] field should be mandatory to fill.

 

HrishabhKumar_0-1743771035120.png

 

HrishabhKumar_1-1743771097873.png

 

Let me know how it could be done, Thanks.

10 REPLIES 10

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @HrishabhKumar 

 

You can do it via UI policy/. Create it on the Incident table like this and set the action.

AGLearnNGrow_0-1743771479062.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]

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

Hi @Dr Atul G- LNG I've done the same. But this is not the requirement, this will set the additional comments field after state is set to cancelled, but we want it to be mandator before state moves to cancelled state.

Do you mean from another state to cancel?

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

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

Hi @HrishabhKumar 

 

https://www.servicenow.com/community/developer-forum/to-make-additional-comments-mandatory-when-stat...

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

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