Accept/Reject Incident

dhruva
Kilo Contributor

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 ?

1 ACCEPTED SOLUTION

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


find_real_file.png


View solution in original post

11 REPLIES 11

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);


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.