SAP Knowledge Base Article - Public

3606828 - Error Encountered When Candidate Submitting Personal Data Collection: java.lang.IllegalStateException: ServiceLayerException: Failed to trigger HrisSync

Symptom

  • An error is encountered when candidate is attempting to submit Personal Data Collection.
  • The error message displayed is: "java.lang.IllegalStateException: com.successfactors.personandemployment.api.servicelayer.exception.ServiceLayerException: Failed to trigger HrisSync"

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Login as an Onboardee.
  2. Complete the Personal Data Collection stage.
  3. Observe the error: "java.lang.IllegalStateException: ServiceLayerException: Failed to trigger HrisSync".

Cause

Cause 1: The error is due to unsupported HRIS-sync mapping defined in the system.

Cause 2: A unique constraint violation occurred during HRIS Sync because the Username field was mapped to other fields that was not unique.

 

Resolution

Solution 1: 

  1. Run Check Tool > Employee Central HRIS Sync to identify if some fields are incorrectly defined in Manage Business Configuration > Employee Central > HRIS Sync Mappings.
  2. The system synchronizes some Employee Central data based on the hard-coded sync mappings from HRIS fields to standard and userinfo elements.
  3. To avoid unexpected behaviors, don't delete nor duplicate hard-coded sync mappings.
 
Solution 2:
  1. Navigate to Manage Business Configuration.
  2. Go to HRIS Sync Mapping.
  3. Verify that the Username field is mapped to Staff Code.
  4. Ensure that the Staff Code value mapped to the Username is unique before submission.
  5. Check for any duplicate Staff Code values that may result in duplicate usernames.
  6. If the issue persists, or if uniqueness cannot be guaranteed, remove the Username field from the HRIS Sync Mapping.
 

See Also

3465792 - Application error on new hire - Employee central

Keywords

Error, Submitting, Personal Data Collection, HRIS-sync, Mapping, Unsupported, Check Tool, Employee Central, Manage Business Configuration. , KBA , LOD-SF-OBX-PDC , Personal Data Collection , Problem

Product

SAP SuccessFactors Onboarding 2605