How to Approve or Reject a record through email?

AndresGT1
Giga Expert

Hello,

I'm new to this email scripting area and was wondering if you could help me out with this.

I'd be grateful if you pointed me in the right direction or gave me an example.

Thanks!

1 ACCEPTED SOLUTION

Dear Andres,




You can   write inbound actions for to approve or reject through emails.



In inbound actions you can specify   the conditions like subject contains, field ...etc.



Depending upon the conditions it will update on the target table.



By using watermark service now instance will identify to update that on which record.



Refer the below links may helpful to you


.Approve or Reject Change Request via Email



Single click on email link to accept/reject a record



Buttons within Email Notifications


Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.

View solution in original post

8 REPLIES 8

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Andres,



Inbound email action is what you are looking for. Please refer the OOTB inbound email action : Update Approval Request



This inbound email action is triggered when an email is sent to ServiceNow and:


1. The email is a reply.


2. The email being replied to was sent by ServiceNow due to creation or update of an Approval Request.


This inbound email action can update the state field of an Approval Request, if the subject of the email contains either "approve" or "reject", or if the state is set within the body of the email.


In addition to being able to explicitly set the value of the state field, the whole email is added to the Approval Request as a comment.


Example reply email: this reply will update comments for the Approval Request with "This seems fine.", and set the state to "approved".



Reference:


http://wiki.servicenow.com/index.php?title=Inbound_Email_Actions#gsc.tab=0


Thanks Pradeep!



It's really useful, but I was thinking to approve or reject via link within the email.



Is that possible?


Dear Andres,




You can   write inbound actions for to approve or reject through emails.



In inbound actions you can specify   the conditions like subject contains, field ...etc.



Depending upon the conditions it will update on the target table.



By using watermark service now instance will identify to update that on which record.



Refer the below links may helpful to you


.Approve or Reject Change Request via Email



Single click on email link to accept/reject a record



Buttons within Email Notifications


Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.

Additional question... we have implemented these email approvals but when the user clicks "click here to approve" a window in outlook pops up then the user has to click send. Is there a way to skip the reply window from popping up? When the window pops up users will sometimes change the subject and the email body... So the inbound email rule never picks it up.