In email script detect when user click on a button in notification

romainruffie
Kilo Explorer

Hello,

We have created a notification with two buttons,

Have you an idea to how dectect when a user click on a button ?

We tried to:

use javascript function "onclick()" but without success..
create two email script for each button but, the script are trigged on notification load.. and we want to call script when user click on,

Have you any idea ?

In attachment, our notification,

(The client don't want to use mail to !)

 Waiting your answers,

Romain.

6 REPLIES 6

Hi Omkar,

We don't want to use Inbound Email Action, cause our client don't want to reply, forward or create a new email, it just want to click on button an being redirect to the incident portal page, and on click update the incident,

 

Thanks,

Romain.

 

Hi 

Then for such a prupose, you can give some key on <a href> that you have provided for redirection.

For ex :- testInst.service-now.com/sp#redirect

 

and in the portal check if the url contains #redirect then take him to the page you want to.

 

 

Regards,

Omkar Mone.

www.dxsherpa.com