Symptom
- When rehiring an employee, the alert message is configured to be sent to the future manager but is sent to the previous manager.
- The workflow context is selected as TARGET.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors HCM Suite
Reproducing the Issue
- Create a saveAlert rule to set effective date of the alert message before the hire date of the new hire;
- Rehire employee to store the alert;
- On effective date of the alert, the job runs and the notification goes to the manager from the previous employee;
Sample rule:
Cause
This is an expected behavior.
Resolution
- When the EC Alerts and Notification job runs, it will retrieve data stored in the database on that date, not in the effective date of the rehire;
- The Context feature only works for data that is already stored;
- The new manager will only be effective on the hire date, which means the job will retrieve the current manager (from previous employment);
See Also
Keywords
EC Alerts and Notification, job runs, effective date, rehire, Context workflow, new manager, effective hire date, current manager, previous employment, old manager, saveAlert rule, notification, alert message, hire date, new hire, rehire employee, SuccessFactors, employee central, alert message, workflow context, TARGET and source , KBA , LOD-SF-EC-ALR , Alerts & Notifications (saveAlert - EC Core only) , LOD-SF-EC-HIR-RIE , Rehire Inactive Employee , Problem