In email script detect when user click on a button in notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2019 07:38 AM
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.
- Labels:
-
Best Practices
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2019 12:23 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2019 12:46 AM
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