SAP Knowledge Base Article - Public

3384209 - Effective dates of employmentInfo hris element for onChange and onSave rule types

Symptom

What is the effective date of Employment Details hris element for onChange and onSave rule types?

 

 

 

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

1. User's hire date record in Job Information is 17th March, 2002.

2. There are 2 rules under Employment Details, one is onSave rule under Employment Details and the other is onChange rule for one field.

3. When rules are triggered we can see the different effective dates for Employment Details from rule logs, onSave takes the date of hire date's record from Job Information, while onChange rule takes the date of today's date.

onSave rule: Execute rule 'employment_details'. Scenario: '_basic'. Effective date: 2002-03-17. Base object type: 'employmentInfoModel'. Base object class: 'HrisElementRuleModifiableModel'. Parameters: 'employmentInfoModel': employmentInfo, 'employmentInfo': test test (sfadmin), 'eventSource': CentralizedServices, 'eventType': onSave.

onChange rule: Execute rule 'onchangetermination'. Scenario: '_basic'. Effective date: 2023-07-19. Base object type: 'employmentInfoModel'. Base object class: 'EmpEmploymentInfoModel'. Parameters: 'employmentInfoModel': employmentInfo, 'employmentInfo': test test (sfadmin).

Cause

This is the expected behavior.

Employment Info captures as of today data (it's non-effective-dated object). All onChange rules or auto completion of FO/GO on employment info edit takes today's date always.

OnSave can navigate to Job Information and there are user cases where we need to pick Hire date from Job Information records. So onSave rule takes actual Hire date.

Resolution

Please configure your rules based on the system behavior to get the correct data.

If you do think this is to be enhanced, please kindly raise an enhancement request according to below article.

2090228 - How to Submit Ideas for SAP SuccessFactors Products - SAP for Me

Keywords

employment details' rule effective date, business rule event type difference, employment info hris element's effective date, difference between onChange and onSave rule effective dates , KBA , LOD-SF-EC-EMP , Employment Information (Employment Details) , How To

Product

SAP SuccessFactors Employee Central all versions