Hi,
Can anyone please help me on this?
We are maintaining multi-level approval process for PO by using WF. The Approve and Reject operation will be performed by following scenarios
1. User can approve PO by using WF approve and reject button on UI.
2. Also user can approve PO via email. Here we are sending approval request email to corresponding approver with approve and reject link.
Approve and Reject link sourced with suitelet external URL. On click of Approve or Reject link suitelet will get called, from suitelet we are triggering approval action by using nlapiTriggerWorkflow API.
It is working fine in our production account.
When I was testing same scenario with release preview account it is giving error like "Action execution FAILED: An unexpected SuiteScript error has occurred".
[ATTACH=CONFIG]n293436[/ATTACH]
I was tried to approve via UI approve and reject button it is working fine. But email approval is giving above error but sometimes it is working fine. So I don’t find exactly what is happening here.
Note: It is working fine in our production account without any issue like this.
FYI, Plese refer attachment "WF_Email_Send_Error".
Thanks,
Kesav