Within the NetSuite SuiteApprovals, a user encountered a problem when attempting to implement a two-level approval process for an expense report. The process was designed to require approval from both the employee's supervisor and the accounting team (Level 2 - Expense Report Approvers). However, when the supervisor clicked the "Approve" button, the system did not respond as expected. The expense report remained in pending approval status, and no further actions were triggered.
Upon investigation, it was discovered that the issue was related to the privacy settings of the approval groups. Specifically, the Level 2 - Expense Report Approvers which was flagged as PRIVATE, which restricts access to only the group owner. This privacy setting prevented the workflow from retrieving the next approver's information when the supervisor attempted to approve the expense report.
The error message "WD_SAP_SU_MirrorApproval >> Cannot trigger workflow action: approve" in the Script Execution Logs further confirmed this issue.
To resolve this problem, the following steps were taken:
Step 1: Modify Group Settings
1. The owner of the group, should logged into the system.
2. Navigate to Lists > Relationships > Groups.
3. After locating the Level 2 - Expense Report Approvers group, click Edit.
4. Unchecked the PRIVATE checkbox to remove the access restriction.
5. Click "Save" to apply the changes.
Step 2: Retry Approval Process
After the group settings were updated, the supervisor was asked to approve the expense report again.
Once the above steps were completed, the approval process functioned as intended. The approval history showed that the expense report was successfully approved by the employee's supervisor, and it was then routed to the accounting team for the next level of approval. The issue was resolved, ensuring a smooth and efficient approval workflow for future expense reports.
This case highlights the importance of reviewing and configuring group settings appropriately, especially when dealing with approval processes. Ensuring that the necessary users or groups have access to the required information is crucial for the smooth functioning of automated workflows. By addressing the privacy settings, the system was able to execute the approval process seamlessly, enhancing the overall efficiency of expense report management.