Skip to main content

The employee has no work pattern or shift type for the absence dates

Resolve the error that appears in PeopleXD Workforce Management when entering a sickness absence. Error: 'Unable to determine absence duration'

Written by James Pardy

This error in PeopleXD Workforce Management can appear for several reasons when entering a sickness absence.

To resolve the issue, check each of the following causes in order. Most cases are resolved by ensuring the employee has a valid work schedule or the user has the correct permissions.

📌Note: The employee must have a valid work pattern assigned that covers the absence dates. If no work pattern or shift type exists for those dates, the system cannot process the absence.


Check if the employee has a shift type assigned

The employee must have a shift type and work pattern assigned on the date of the absence. If no shift type is assigned, Workforce Management cannot process the absence.

Follow the steps below to check and update the employee’s work schedule.

Check and assign a shift type

  1. From the Widgets drop-down menu, select People Management.

  2. Click Employees.

  3. Next to the relevant employee, click View/Edit.

  4. Click Change Work Schedule.

  5. Adjust the Date Effective so it covers the absence date.

  6. Click Save.

The shift type must be active on the date the absence is being entered.


Check the work pattern on the absence date

You should also confirm that a work pattern exists on the specific absence date in Workforce Management.

To view the employee’s work schedule

  1. Open WFM Admin Dashboard.

  2. Click Person Maintenance.

  3. Find the relevant employee.

  4. Click the three-dot menu.

  5. Select View.

  6. Click Work Schedule.

  7. Click Actions.

  8. Select View Schedule.

  9. Check the work pattern on the absence date.

Ensure a shift or work pattern is visible on the date the absence is being entered.


User entering the absence does not have ignore data entry restriction enabled

The user entering the sickness absence must have the correct permission to override data entry restrictions. This is controlled by the Ignore Data Entry Restriction setting.

Follow the relevant steps below depending on whether you are using Back Office or the Portal.


Enable ignore data entry restriction in back office

  1. Click System Params.

  2. Click System Users.

  3. Search for the relevant user.

  4. Click Access Privileges.

  5. Turn on Ignore Data Entry Restriction.

  6. Click Save.


Enable ignore data entry restriction in portal

  1. Click WFM Admin Dashboard.

  2. Select WFM Configuration.

  3. Click WFM System Users Configuration.

  4. Next to the relevant user, click the three-dot menu.

  5. Select View/Edit.

  6. Click Access Privileges.

  7. Turn on Ignore Data Entry Restriction.

  8. Click Save.


Still having issues?

If the error continues after completing the steps above, check:

  • the sickness dates fall within the employee’s employment dates

  • the absence type is correctly configured

  • the user has the correct Workforce Management permissions


The system calendar hasn't been extended

The system calendar hasn't been extended

If the system calendar hasn’t been extended to cover the dates of the leave request, you can't record absence for those dates. To resolve this, you need to extend the system calendar.

Did this answer your question?