SAP Knowledge Base Article - Public

3422504 - Error When Accessing The Offboarding Dashboard - Onboarding

Symptom

  • Error message when accessing the offboarding dashboard: [COE0021]Invalid property names: ONB2Process/toCustomTasks. Please check the property name in Admin Center > OData API Data Dictionary or entity metadata. Ensure there were no data model changes that removed this field, and please execute a refresh metadata to ensure the cache is not corrupted.
  • On clicking offboarding from Home drop down getting an application error: [COE0019]Failed to retrieve result with given criteria

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Log into the system
  2. Go to the offboarding dashboard in the home page drop down and the error will be displayed.

Cause

Cause 1: Onboarding is not enabled on Provisioning

Cause 2: Some custom tasks were created under offboarding program as was deleted. But during deletion, some offboardees are already associated with this custom task causing the error

Resolution

Resolution 1:

  • This error is occurring because you are using Offboarding only, to fix this you should enable the Onboarding switch. No need to implement the Onboarding, just enable the switch.

Resolution 2:  Try to delete first the created Offboarding program. if you encounter an error saying that some users are using these program, please see below next steps: 

Action 1

  • You need to cancel the process data of these offboardees and purge them
    • Manage Data > Process > provide process IDs of these offboardees
    • Take Action and Make Correction to set Process Status to Cancelled
    • Make sure to provide Reason for Offboardign Cancellation as well

During cancellation of its process object, you may encounter an error - ???Saving of 1 ONB2CustomTask throwed a Exception???. Please perform below actions:

Action 2

  • You need first to cancel the custom tasks for each offboardees
  • Go to Manage Data > Custom Task > provide the affected process IDs
  • Take Action > Make Correction > set Custom Task status to Cancelled
  • Click Save

If you encounter an application error while cancelling the custom task of each offboardees, please do the workaround below:

Action 3

  • Go to Manage Data > Process > provide the affected process IDs
  • Take Action > Make Correction (you may perform already the Action 2 but without hitting the Save button yet)
  • Scroll down to the toCustomTasks section
  • Click details of each process and set Custom Task Status to Cancelled
  • Scroll a bit until Custom Task Responsibles, you need to provide a Responsible User ID, you can just input the user ID of the offboardee
  • Then click Done (note: do these for each custom process ids)
  • Once done for all, you may click Save already
  • However, if you noticed, it won't actually cancel the custom task after you saved and checked again the details of their custom tasks. It's just for us to proceed with cancelling the process object. 

Post this, once process object has been successfully cancelled, you may proceed to purge all the users/offboardees affected

Keywords

obx, Offboarding dashboard, termination, COE0021, custom tasks, Invalid property, names, ???Saving of 1 ONB2CustomTask throwed a Exception???, error offboarding dashboard , KBA , LOD-SF-OBX-OFP , Offboarding 2.0 , Problem

Product

SAP SuccessFactors Onboarding all versions