How to create a link in Email notification to reopen resolved incident

shaik_irfan
Tera Guru

Hello Everyone,

We have a requirement where i need to create a link "Please click here if your incident is not resolved" whenever user clicks on the link Resolved incident should be Re-open.

Please advice.. Been trying since 1 week but unable to resolve this can anyone please help me out ?

sharique amlanpal

12 REPLIES 12

Thanks Chuck,



It redirects to the incident ticket, but when i click it automatically reopens a ticket instead of redirecting it to resolved ticket


venkatiyer1
Giga Guru

Hi Shaik,



To add to what Chuck Mentioned, getLink only gives the path to the record and you need to add the host information by using gs.getProperty('glide.servlet.uri')



Also you might want to add a query parameter to the link which you can parse with the help of instructions in the below link to further change the state of the incident


https://www.servicenowguru.com/scripting/client-scripts-scripting/parse-url-parameters-client-script...



Venkat,



As of now it is redirecting it to the ticket, what should i do if i want to reopen the resolved ticket by pressing the link ?



Tagging Kishore can you help me on this ?



karthikvibeus


After that create an ui action when click on that incident has to reopen.


Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.

Karthik,



do i need to set a UI Action script inside Notification Scripting ?



If yes can you please let me know the script