Symptom
When trying to approve a rehire workflow, "Error occurred when transitioning the workflow" is displayed.
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
- Submit a rehire with a workflow assigned to it;
- When trying to approve the workflow, "Error occurred when transitioning the workflow" pops up.
Cause
Relationship is not defined in Primary Emergency Contact of previous employment. From 2H2023 Release, this field became mandatory.
FAQ - Additional Information
Q) Where can I get information on this from the Guide?
A) Guide: Person Object Tables | Emergency Contact.
Resolution
- Navigate to the inactive employment of the user you're going to rehire;
- Open Primary Emergency Contact portlet;
- Define a Relationship > Hit save;
- Approve the workflow.
Note: in case the error still pops up, the existing workflow needs to be withdrawn and a new one needs be sumitted.
See Also
- 3354503 - Error occurred when transitioning the workflow in Compensation Information - Employee Central
- 3352690 - Error approving workflow: "error occurred when transitioning the workflow"- Employee Central
- 3471995 - "Error occurred when transitioning the workflow." when approving the new hire workflow - CS1H2024
- 3478884 - Error occurred when transitioning the workflow - 1H 2024
- 3478103 - "Error occurred when transitioning the workflow" appears during approval of concurrent employment for contingent worker - CS1H2024
Keywords
Error occurred when transitioning the workflow, Caused by: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "com.successfactors.hris.bean.eo.EmpEmergencyContactInfoEO.getRelationship()" is null, com.successfactors.hris.bean.eo.EmpEmergencyContactInfoEO.getRelationship(), Deprecated jobinfo field usage, second-manager, custom-manager, additional-manager, matrix-manager, rehire workflow, rehire, add new employee, rehire inactive employee, employment, emergency contact, emergencyContactPrimary, primary emergency contact, relationship, employee central , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , LOD-SF-EC-PER-ECO , Emergency Contact Details , LOD-SF-EC-PER , Person Data (All Person Data Types) , How To