Absence and Vacation | Troubleshooting

If you have this problem...

Try this...

An absence reason is not available to select from the picklist in WX.
  • Ensure the reason is added as an available value to the Absence Record Type.

  • Ensure the reason's API Name in the Reason field picklist in the Absence object exactly matches the Reason defined in the Absence Accrual Rule.

Trying to book a vacation in 2023, but received a Post Operations Data Error.

 

"Post Operations Data Error" suggests the issue is related to data. In this specific case, the Absence Accrual Pattern had a circular loop related to inheritance.

If you see a similar error, review the Inherits From settings and remove any circular loops.

Error received when importing Absence Accrual Pattern (.fs file): Invalid type on field in record, field is fta_hide_absence_detail_c

An error such as this can be caused when Sage People introduces a new managed package field, and a file containing it is imported into an org which does not yet have the release where the field was introduced.

Alternatively, the error could be caused by the importing user not having permissions to access the field mentioned in the error message.

Unable to set up an absence accrual rule with partial accrual during a paid absence.

Partial accrual during paid absence can be achieved by using the Pro Rata option for the field Accrue During Paid Absence. in the Absence Accrual Rule.

If the value is not available in the picklist, you can add it, see Updating picklist values.

When an assistant with delegated access using roles submit a time off request, the system automatically approves the request.

You can switch off this behavior:

  1. Go to Setup, and in Quick Find enter installed and select Installed Packages from the search results.

  2. For the Time package, select Configure.

  3. Select the checkbox in Time Features: Stop delegated assistant approving own absences

  4. Select Save.

Received an error with a vacation type absence: Attempt to de-reference null object

This error can be caused by a number of different problems in the configuration. To resolve, check the following:

  • Ensure the picklist values for Reset Month in the Absence Accrual Rule object have not been changed from the default values delivered with the packages.

  • Ensure all team members are assigned policies with a defined absence accrual pattern and work days pattern.

  • Add an additional absence accrual rule using vacation as the type to this absence accrual pattern. To hide this additional accrual rule from team members in WX, set the Entitlement Start to 999.

In Apex Jobs, an error message displays for the Persistence Service batch:

First error: Missing Team Members (record ID number)

Screenshot: An error displayed for the Persistence Service batch on the Apex Jobs page

Ensure all team members have active employment records.

When attempting to download an absence as an iCalendar (ICS) file in WX, an error message displays:

"Insufficient Privileges: You do not have the level of access necessary…"

  • On the Time package configuration page, make sure the Enable ICS download field has the correct setting.

  • Check the team member's permission set assignment. iCalendar downloads require the Sage People Platform Team Member fta permission set.

All days in the WX absence calendar are grayed out and the calendar does not display the work days or holidays from the Work Days Pattern.

Annotated screenshot: Comparison between absence calendars where Time Off calendar is fully grayed out

Make sure the Hours Worked field in the employment record is not blank or is set to zero.

The Absence Balance report in WX Analytics Vacation Balances displays values with up to 15 decimal digits.

Create a formula field on the Absence Balances object to round the number appropriately. For more information, see the Formula library.

Selecting Absence and Vacation WX Process results in a blank screen or the calendar is blank.

Check the work days pattern. The accrual balance calculation references the work days pattern and by extension, any work days holidays.

A work days holiday set up with recurrence options that are not compatible with each other can cause this issue. For example, a work days holiday with Day of Month recurrence where a day of the week is specified instead, or Western Easter without a day of the week.

No action for the manager when a team member requests an absence.

Check the team member's Employment Status. If the value of the Employment Status is included in the Has Left section of the HCM package configuration page, manager actions in WX are suppressed.

In WX, the new Time off screen does not load for large teams.

Ensure a value other than None is selected in the Rounding Mode field in the absence accrual rule.

Attempt to de-reference a null object error displayed on the accrual log or the WX absence calendar does not load.

Check for the following configuration errors:

  • Does the policy have no work days pattern defined?

  • Does the policy have no absence accrual pattern defined?

  • Configuration errors in the work days pattern, such as the setup of public holidays. For example, recurring holidays missing a month value.

  • Configuration errors in the absence accrual rule. For example, missing a value in the Rate Per field or Use Rounding is selected, but no value is entered in the Rounding To Nearest field.

  • Historic absence records imported to the org are missing a value from the Days/Hours field.

This error can also occur with a high volume of data.

An Apex job error such as

"First error: Invalid integer: AC"

Screenshot: Apex job error "First error: Invalid integer: AC"

or the absences are not deducting correctly.

Check the absence accrual rule for spaces in the Deduct Order field:

Screenshot: Absence Accrual Rule, Deduct Order field highlighted

Remove any spaces from the field.

Error Message: No such column ConnectionReceivedIDWhen importing a .fs file such as a payflow, absence accrual pattern or work days pattern:

This error message is seen if the imported .fs file was created in an org that had Salesforce to Salesforce enabled because it adds columns such as ConnectionReceivedID to the file. To resolve:

  • Ensure reusable .fs files are created in orgs where Salesforce to Salesforce is not enabled.

  • Manually remove from the .fs file all references created by having Salesforce to Salesforce enabled, such as ConnectionReceivedID. Test the .fs import in a trial org where Salesforce to Salesforce is not enabled to check all issues are resolved before deploying in a production org.

Divide by zero error seen in the Absence Balance Apex Job or when entering the accrual log for a team member

Review absence records for an absence with an end date before a start date. The easiest way to do this is with a report.

Divide by zero error on the accrual log

If you configure an absence accrual rule for timesheet based accrual and if the employee has Hours Worked = 0, the accrual log displays a divide by 0 error.

To work around this issue, remove the zero so the Hours Worked field is blank (no value rather than the value of zero).

Trying to change the Deduct Order, but the Save button is grayed out and "Feature is not currently available" message displays.

Follow instructions to enable Enhanced absence features.

Team members are not able to see the team view of the absence booking screen in WX.

Check the Rounding Mode in the absence accrual rule. If rounding is not used, select the value None.