Incident created on retired services when template is create with retired service

ramesham
Tera Contributor

In Incident form, if template is created with a retired service and when this template is applied on the incident the ticket will be submitted on retired services.

We want to restrict retired services to be used in templates or a validation to be done on incident form while template is applied and allow only operational services to be used for creating incident.

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @ramesham 

 

Unfortunately we cant put validation not to select  retried services in template, it is OOTB way. 

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

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

Runjay Patel
Giga Sage

Hi @ramesham ,

 

Create onChange client script and do below

 

if(isTemplate){
	g_form.setValue('category', 'software');
}

 

You can set "operational services" if template apply to your field.

In this case i am applying template on category .

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------