Symptom
When trying to run the Registration connector, with multiple registration status for a user, the connector "Record received for duplicate entity."
Environment
SAP Successfactors Learning
Learning Management System
Reproducing the Issue
1.Prepare a feed file for the registration connector with name 'enrollment_data.txt'
2.The data in the feed file looks like :
STUD_ID|ENRL_STAT_ID|ENRL_DTE|COMMENTS|CANCEL_DTE|LEGACY_ID!##!
1234|CANCELLED|||Apr-28-2017 17:23:56|2017_D7830_01_01!##!
1234|ENROLL|Apr-28-2017 20:35:05|||2017_D7830_01_01!##!
3.Upload the file to the sftp and schedule the Registration Connector
4.The connector rejects the records with message "Record received for duplicate entity."
Cause
In the same input file, only one Enrollment/Registration status for a user can be passed.Connector rejects records with multiple status.
Resolution
- Prepare the feed file to include only one registration/enrollment status at a time.In case the enrollment status needs to be updated for a user from Enroll to Cancelled, do it in the next run of the connector.
- In other words, first register the user as enroll and then run the connector.In this case the feed file will look like :
STUD_ID|ENRL_STAT_ID|ENRL_DTE|COMMENTS|CANCEL_DTE|LEGACY_ID!##!
1234|ENROLL|Apr-28-2017 20:35:05|||2017_D7830_01_01!##!
- Rerun the connector to update the status to Cancelled.In this case the feed file will look like :
STUD_ID|ENRL_STAT_ID|ENRL_DTE|COMMENTS|CANCEL_DTE|LEGACY_ID!##!
1234|CANCELLED|||Apr-28-2017 17:23:56|2017_D7830_01_01!##!
Keywords
enrollment connector, registration connector,enrollment status,registration,update,connector , KBA , LOD-SF-LMS-CON , Connectors , Problem