Error 5005: "An error occurred while saving 'PERSONABSENCEEVENTS'...."

If you receive the following error when attempting to submit an absence request, it means that the employee record of a user involved in an Absence Request process flow has been deleted.

This is most likely to be one of the following:

  • the Fallback User of the process flow OR
  • the Absence Override User of the affected employee's absence plan

"An error occurred while saving 'PERSONABSENCEEVENTS'; entries exist in the system which use the selected record. It therefore cannot be deleted."

This article shows how to fix this error and contains the following sections:

  1. Find the User in the Process Flow Settings
  2. Change the User's Employee Record

Note:

  • The example below shows how to fix this for the fallback user.

1. Find the User in the Process Flow Settings

Navigate to: Administration >> Processes >> Active Process Flows

  1. Select the Absence Request process
  2. Click View Settings
  3. Click through to the Process Setup section.
  4. Record the username so that it can be referred to below.
1. Find the User in the Process Flow Settings

2. Change the User's Employee Record

Navigate to: Administration >> Users >> User Settings

  1. Select the user account from above.
  2. Change the Person Name and E-mail to an employee with a person record.
  3. Change the username as required.
  4. Select Save.
  5. It should now be possible to submit the Absence Request.
2. Change the User's Employee Record

Note:

  • If you want to change the username of the account within the Process Flow Settings screen, you will need to terminate the Process Flow and re-activate with the required username.