How to send notification when request or incident is auto closed

vamshi2
Tera Contributor

Hi Team,

 

i have requirement to send notification when inc/req is auto closed and their are two scenarios to close req/inc i.e. one is from flow and other is manually moving state to closed complete  so please sugest how to trigger  notifcation and we using auto close check box to identify which is manual and which is from flow and i dont want to modify flow

16 REPLIES 16

Yes @Ankur Bawiskar  we have difference in subject and body

@vamshi2 

then do this

1) have 2 events, 2 email notifications

2) when person manually closes, have after update business rule and trigger event1 for manual closure, have your notification body etc and subject unique for this

3) the script which is auto closing trigger event2 from there

I hope you know how to trigger event, configure notification and link event to it

gs.eventQueue('eventName', glideRecordObject, 'recipient');

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@vamshi2 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@vamshi2 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@vamshi2 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader