How to solve Error 5845 – Not Possible to Delete Workflow Process

This article will explain how to solve error 5845 - It has not been possible to save 'PERSONABSENCEEVENTS' as it is part of a workflow process.

screenshot

Error 5845  appears when trying to delete or change an absence plan, but there's still a request pending approval under that plan.

To fix it:

  • Check for any pending absence requests.

  • Approve, decline, or cancel them.

  • Then try again.


Problem

Why am I seeing Error 5845?

You are seeing this error because there is at least one absence request still in progress (e.g., pending approval) under the current absence plan.

This active request prevents the system from allowing you to delete the workflow process tied to that absence plan.


Solution

How do I resolve Error 5845?

Follow these steps:

  1. Go to the employee’s absence records.

  2. Check for any absences with a status of ‘Pending Approval’.

  3. Take one of the following actions:

    • Approve the request.

    • Decline the request.

    • Terminate the Process.

  4. Once all absences are processed, try deleting or switching the absence plan again.


Common Questions

How do I know which absence is causing the issue?

  • Go to the employee’s record and view their absence history.

  • Look for any absences with the status Pending.

Can I delete the absence instead?

If the request is no longer needed:

  • Yes, you can delete it by terminating the process.