SAP Knowledge Base Article - Public

2780598 - Application Error When Last Approver Approves Rehire Workflow - EC

Symptom

An application error occurs when the last approver approves a rehire workflows:

An application error occurred. Please try again later, or notify support (with the error information of errorId=####-####-#### timestamp=2019-04-####:##:###.##-####, and the version information from the current screen) if the issue keeps occurring.

ERROR [HireActionServiceImpl] [###.##.###.##] [####] [XK9hlAoEFLMAADndmUwAAAC4]  Error executing  AddNewHire AddRehire Error id #####-####-####-####-######,. Timestamp 2019-04-####:##:###.##-#### Wrapped Exception: Wrapped Exception: Exception is caught when converting PreDay1 user from old id #### to new id ####

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors HCM Suite
  • SAP SuccessFactors Employee Central- workflow

Reproducing the Issue

  1. A rehire workflow is initiated.
  2. The Last approver clicks on approve. 

SAP internal Note:

Caused by: com.successfactors.sca.service.ServiceLegacyRollbackException: Wrapped Exception: Exception is caught when converting PreDay1 user from old id xx to new id xxxx

Cause

If there is Employee Central (EC) Data for an employee you are attempting to hire in the system (such as a previous Intern or Contingent Worker) he/she cannot be hired as New Hire.

Resolution

  1. If it is a New Hire that has not previously been hired into the system, send back the current open workflow.
  2. Remove the Employee Central (HRIS Element) data from the target user's record.
  3. Then retrigger the hire transaction.
  4. The associated workflow and hire action should now be successful.

Note: in case the previous ID was already soft purged, it may be needed to hard purge it. Process is explained in the KBA 2392076.

Keywords

SF, Success Factors, EC, Rehire, Last approver, Workflow Application Error, Regular, full-time, full time, Intern, Wrapped Exception: Exception is caught when converting PreDay1 user from old id  to new id, , KBA , LOD-SF-OBD , Onboarding , LOD-SF-EC-INT , Manage Pending Hires (Integration RCM/ ONB/ OBX + UI) , LOD-SF-EC-INT-ONB , Onboarding 1.0 to EC Integration , Problem

Product

SAP SuccessFactors Employee Central all versions