Symptom
When adding a new employee an application error happens blocking you to finish the hire.
Environment
SAP SuccessFactors Employee Central
Cause
There is a rule that triggers while saving the hire that have more than 1 record which have different rule scenarios. Please consider run a trace to identify these rules: 2257064 - Employee Central - Business Rule Execution Log
Resolution
In order to fix this is needed to make sure that all records of the rules have one single scenario. For exemple: The rule should not first record as "Basic" and second record scenario is "Trigger Workflows".
When you find the inconsistencies please follow:
- Go to Configure Business rules
- Find the affected rule
- Find the record with "Basic"scenario
- Click on "Change Scenario"(Please select same scenario that is used already in other records)
- Save
Keywords
Caused by: com.successfactors.personandemployment.api.servicelayer.exception.ServiceLayerException: Duplicate rule found for externalCode, application error, hire, rehire, rule, application, error. basic, scenario, , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , Problem