Cancel OnboardingError : [COE0018]The cancellation request fornew hire xxx has failed. Please contact youradministrator (Onboarding/Offboarding)

Customers and onboarding team more often than not would like to cancel onboarding of records seen in the onboarding dashboard.

If you receive an error ” [Onboarding] Cancel OnboardingError : [COE0018]The cancellation request fornew hire xxx has failed. Please contact youradministrator (Onboarding/Offboarding) “, it means there is a missing configuration in the instance.

Assuming other required configurations such as NoShow in the picklist and No Show related event reasons are configured correctly,  in this blog we will review what config need to be made to resolve the error.

Configuration:

Goto Manage Data >> Country/Region

Search for the country where the onboardee will (would have) join.

Check if the event reasons,  No Show (NO_SHOW) and NO_SHOW_EVENT_REPORT are assigned to the particular country.

If the event reasons are not configured, you are required to configure the event reasons to all countries where you have an onboarding process.

Country/Region%20-%20Event%20Reasons%20configuration

Country/Region – Event Reasons configuration

Note: If the country/region table do not have a functionality to configure event reasons, then you are required configure this wrapper. You do this in the configuration step: Configure Object Definition >> Country/Region, and configure the associations.

After the event reasons are configured, goto OData API Metadata Refresh And Export, and do a cache refresh.

Conclusion:

Configuring the event reasons for the specific country will remove one of the potential errors that we see while cancelling onboarding.

If still run into issues, there can be other configuration related topics (either missing or use them for EC only). We will review the other related topics in an upcoming blog.