Change state of an incident on click of a link in email notification

divyavashishtha
Tera Contributor

I have a requirement where I have a Link "Click here to close the incident" in an email notification, on clicking that link the state of that respective incident should be changed.

Can you please help me how can i achieve this?

Thanks in advance

1 REPLY 1

Joe McCarty1
ServiceNow Employee
ServiceNow Employee

You can follow a process similar to the Reopen link:



Create a notification template with the link label:



Screen Shot 2017-03-17 at 7.55.51 PM.png



Add a ${mailto:mailto.close} tag to the notifications you want to give the option to close:


Screen Shot 2017-03-17 at 7.39.07 PM.png


Update the inbound email action to check for 'please close' like it does for please reopen:


Screen Shot 2017-03-17 at 7.58.13 PM.png


Then it would show up as a link that opens an email to respond with the correct subject to update.


Screen Shot 2017-03-17 at 7.50.27 PM.png