How to create a link in Email notification to reopen resolved incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2017 07:52 AM
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 ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 02:41 AM
in the mail script u can write current.state ='2'// State number and try
ServiceNow Commnunity MVP -2018 class.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 02:56 AM
Karthik,
It wont work since i tried the same earlier if you look at the same thread first or second reply with my screenshot, Later Chuck suggest to remove current.state & current..udpate(); since it updates once the email is sent.
I don't think you want to put the current.state='1' and current.update() in the mail script. That would mean the state is changed when the mail is sent (if it works at all.) Don't you want to change the state when the user clicks the link?
Take that out and see if the link works. You can validate it's a valid link by going to System Mailboxes> Sent and view the HTML of that message to see what was constructed.
Be aware that if the user clicking the link is not authenticated, he will have to authenticate first.
--Chuck Tomasi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 02:59 AM
So create an ui action when click on that incident has to reopen
ServiceNow Commnunity MVP -2018 class.