You have set up workflows for approval of leaves in your instance but you would like these workflows to not be retriggered if the employee is editing an already approved leave.
Thus you would like to know if there is any way you can make a configuration to achieve this need.
SAP SuccessFactors Employee Central (EC) - All Versions
Reproducing the Issue
- Create a leave request and a workflow is triggered (expected);
- Approve the workflow;
- Now edit the same leave and a new workflow is triggered (expected behavior but you want to change it);
Although triggering workflow for any change is expected behavior, as of 1902 release the business rules engine offers you a way how you can achieve this need.
To be possible to achieve this need can to make use of the Original Record.
To be able to use it you must assure you are using the MDF rule scenario provided as of 1902 and documented in the KBA 2767237.
Below you can see one rule example, in this example my workflow will only trigger in the creation AND if the employee or admin is changing any field that actually changes the leave (time type, start date and end date), otherwise, no workflows will be triggered.
2767237 - Employee Central: Rule Scenarios for MDF related EC features in 1902
avoid workflow during edit need to approve the workflow twice , KBA , LOD-SF-EC-TIM , Time-Off , How To