Single click on email link to accept/reject a record

dormarchan
Mega Contributor

Hi,

Is there a way to click a link on email to initiate an UI action or a script to set the state of a record?

My requirement is to accept/reject a proposed solution of a record. The only way I can think of is to invoke the Approval table via WF and have the 'mailto' function in the Email Notification. When the 'approve' or 'reject' link is clicked, it opens an outlook email file with pre-defaulted subject and the watermark. The stakeholder says that it was 2 click and not 1 click.

Any tips or leads is appreciated.

Thanks in advance for your help.

Regards,

Dor

10 REPLIES 10

Thanks Chuck...


I'll be evaluating it first and I'll let you now the outcome. With respect the requester, I will discuss with them about their process.


Regards, Salvador


You are welcome. In short, you asked if it was possible. The answer is yes. I wouldn't recommend it for security reasons, but YES, it is possible.


john_byrnes
ServiceNow Employee
ServiceNow Employee

I'm curious to see how this worked out.   I was just working on a project and thought of using exactly what Chuck mentioned above with a public UI Page.   Then I realized that someone inspecting the URLs in their email could easily recognize the parameter being passed, and if they so chose, write up a quick script to continually hit that page with different parameters.   I'm currently trying to come up with a more secure alternative.


plowe
Mega Contributor

Hi,

 

Any further update on this?  John, did you manage to come up with a secure alternative?

 

Thanks in advance

Aakash Shah4
Tera Guru

Hi,

Please check if this helps

https://snprotips.com/blog/2016/1/29/approve-or-reject-with-a-single-click

Regards,

Aakash Shah