- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2016 12:26 AM
Hello All
I have a requirement like accepting or rejecting a resolution via email for incident record? has anyone worked on it >? how can i achieve this ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2016 01:18 AM
Hi Dhruva,
You can have this kind (shown below) action in the mail and once user clicks in it reply will go and perform required action .
Will that work for you?
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2016 02:05 AM
Create a email script and include that in the notification 'What it will contain' tab. Hope that helps. Hit Like/Helpful as applicable.
Thanks,
Deepa
var watermark = email.watermark;
var from_field=
gs.getProperty('glide.email.notification.fromfield');
var
domain_value=gs.getProperty('test.inbound.email.action.maildomain');
var replyto= from_field+domain_value+">";
var ura="<strong><h4><a title='Approve'
href='mailto:"+replyto+"?subject=Re:"+current.number+"-
approve&body="+watermark+"'>Approve</a></h4></strong>";
template.print(ura);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2020 04:54 AM
Thanks Deepa,
This works great!
Also I figured out from Stack Overflow that you can add a %0D%0A so that a line break appear in the email body when it opens e.g. to get two blank lines to appear use
<a title='Approve' href='mailto:"+replyto+"?subject=Re:"+current.number+"-
approve&body=%0D%0A%0D%0A"+watermark+"'>Approve</a>
Kind regards,
Phonsie.