"An approval reply has failed to be processed by our system" mail to the approver

Tejaswini9
Tera Expert

Hello Guys,

We have 2 approvers for few catalog items and we have configured that in our workflow ( basically if one approves then the catalog task will be created and approval from other changes to "No longer Required" and we are sending the approval request via the mail ) but the problem is when 2 approvers receives the mail, approver 1 approves the request and catalog task got created but after sometime again the approver 2 sends an "approved" email to our system which was not required and he is getting this email from the system and our client is telling us to stop sending such kind of mails to the approvers.

I can create another empty notification by overriding this notification "Approval Error Message response" but i want to know is there any usage for this notification before stopping them being triggered.

can anyone guide me please if i am wrong?

Thank you!!!

3 REPLIES 3

Kieran Anson
Kilo Patron

You can simply modify the inbound action that fires the event to not do so for this particular area.

Inbound Action: Update Approval Request

Comment out lines 34-40 to remove the below IF function. Note, the above message is not an OOB message so possibly this script has already been modified.

	//Added for 'No Longer Required' approval state
	if (current.state == 'not_required') {
		gs.log(getFailurePreamble() + "The approval is no longer required.");
		msgArray.push(displayValue);
		errorMsg = gs.getMessage("approvalNotRequired", msgArray);
		createEmailEvent(errorMsg);
		return;
	}

Thank you for your reply, This is OOB and we haven't customised it i also checked in my personal instance and if i comment only that particular lines of code it throws an error

find_real_file.png

Hi,

It should look like the below.

find_real_file.png