SLA should stop when email communication is made on incident

Deepika Gangra1
Tera Expert

Hi,

SLA should stop when any email communication is made on incident. Email is send via quick message.

 

Thanks in advance

 

Deepika

12 REPLIES 12

Hi @Deepika Gangra1 

 

You have to create After BR on 'sys_email' table with condition that Type is 'sent' and Target record is from Incident table and Created By is not 'Admin' or 'system' which means is it not triggered automatically.

 

Then in Script, you have GlideRecord Incident table and fetch Target Incident and update new checkbox field 'respond to' as TRUE.

 

Now in your Stop Condition of SLA, you can make "Respond To" changes to "True" as condition to stop the SLA.

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

Hi @AnubhavRitolia ,

I got the solution. Thank you for helping.

But here i am not fetching any target incident ,it is applicable to all the incident.

What do to in this condition.

 

Thanks

Deepika

@Deepika Gangra1 

 

I did not got what is your ask now?

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

I am trying to say that in script when we glideRecord incident table and add query to fetch target incident so here i don't want to fetch any specific record, its for all incidents.

Hope you got the point now.

 

Thanks

Deepika

Ok great. Got it.

 

Do mark it as Correct Answer and Helpful if it has helped you to reach your solution.

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023