Skip to main content

Error: An error occurred retrieving the leave request during Bulk Leave Approval

When trying to update a leave request via Bulk Leave Approval in WFM Admin Dashboard, user is getting an error.

J
Written by James Pardy
Updated over 5 months ago

This error usually occurs because either the user lacks the required permission, or the leave requestโ€™s pay code is missing a necessary process code.

Enable Leave Request Processing Role

  1. Go to Portal > Admin Dashboard > Site Manager > Admin Settings.

  2. Search for the setting cp_lv_req_process_role.

  3. Change its value from 'N' (No) to 'Y' (Yes).

  4. Save the changes.

Effect: This grants the user the necessary permission to approve leave requests without error.


Assign Leave Request Process Codes to Pay Codes

  1. Navigate to WFM Admin Dashboard > Configuration > Pay Codes.

  2. Query the Pay Code that causes the error.

  3. Select Leave Request Settings.

  4. Assign the appropriate Leave Request Process Code and Leave Request Cancel Code for the pay code.

  5. Save your changes.

๐Ÿ“ŒNote: Only newly created leave requests after assigning the process codes will flow correctly for approval. Existing leave requests without the process code will still cause issues.


How to handle existing leave requests already submitted:

  1. Cancel and resubmit the requests after assigning the process codes.
    โ€‹OR

  2. Ask employees to cancel the requests, then have managers/admin record the absence manually.
    โ€‹OR

  3. Approve the leave requests via Back Office:

    • Go to CoreTime > Time Management > Approve Leave Requests.

Did this answer your question?