Symptom
In time off, when the employee requests a leave (absence) the onSave rule triggers twice in the same transaction.
Environment
Product version: SAP SuccessFactors HXM Core 2211
Component- Employee Central Time Off
Reproducing the Issue
- Configure a rule that defaults an absence request workflow
- set the rule to trigger on save in employee time
- set a rule trace
- request an absence
- check the rule trace
- the rule triggers twice
Cause
Expected behavior
Resolution
- Rule with workflow will trigger at least twice because it need to save the value and then compute the workflow definition
- Additionally for MDF workflows, the workflow rules set a field at an MDF object. If the first rule already set the field, the second rule will overwrite the value of the field, this is the expected behavior. https://launchpad.support.sap.com/#/notes/3287884
Keywords
Time Off Workflow, rule triggers twice, absence request, , KBA , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , Problem
Product
SAP SuccessFactors HXM Core 2211