SAP Knowledge Base Article - Public

3485268 - "Error occurred when transitioning the workflow" upon approving rehire workflow when Relationship is not defined in Primary Emergency Contact of previous employment - Employee Central

Symptom

When trying to approve a rehire workflow, "Error occurred when transitioning the workflow" is displayed.

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Submit a rehire with a workflow assigned to it;
  2. 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

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

Product

SAP SuccessFactors Employee Central all versions