In the system there are OnInit rules present to change field properties and also to set values in different portlets. The rules to set values are not triggered again when trying to hire an employee from saved drafts.
- SAP SuccessFactors Employee Central
- Hire & Rehire Wizard
Reproducing the Issue
- Create a new hire and after reaching compensation information save the hire as draft
- Continue to hire the employee from saved drafts
- Oninit rules to set values are not triggered again
For onInit rules during loading an existing draft, it has been coded in such a way that the onInit rules are triggered only for the pages which were not visited earlier when saving the draft. So, if the page has been visited earlier, then the rules to set values are not triggered.
But, rules with model base objects will be executed because field properties modified by OnInit rules are not saved in draft tables. So to retain the changes to field properties, we need to trigger the model based rules again during loading a draft.
This is an expected behavior, if the page has been visited earlier before saving the draft, the OnInit rules that set values in different portlets will not set values again in the new hire page.
Saved Draft, Hire, OnInit Rule, Model Base Object, Employee Information Model, Employee Information, Trigger Rule, Field Properties, Add New Employe, Draft, Add, New, Employee , KBA , LOD-SF-EC-HIR , Hire & Rehire Wizards , Problem