Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

RITM is not getting approved even the inbound email action got processed

Hemagiri B
Tera Expert

When I try to approve the RITM through email, the Inbound Email Action is being processed successfully, but the RITM approval state is not changing to “Approved” and remains in “Requested” state.

We are using the OOB Inbound Email Action “Update Approval Request.” As shown in the logs below, after the OOB code executes current.update();, we are getting a null result:

[Approval Email Debug] Update result: null

Could someone please check and help us identify the root cause of why the approval record is not being updated to “Approved”?

 

current.comments = "reply from: " + email.from + "\n\n" + email.body_text;
var controller = new GlideController();
controller.putGlobal("approvalSource", "email");
current.update();
 
Logs as follow
 
HemagiriB_0-1788838415671.png

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@Hemagiri B 

things to check

1) the user who is replying is approver?

2) does that reply email have watermark so that system identifies the correct approval record?

check this KB

Inbound Email Action "Update Approval Request" Fails to Update Approval Record 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader