Symptom
- Warning validation rule does not execute when final approver approves workflow.
- Business rule not triggered in the workflow.
- What kind of business rules will execute when approver approves MDF workflow?
Environment
- SAP SuccessFactors HCM Suite
- SAP SuccessFactors Metadata Framework (MDF)
Resolution
To understand MDF business rule scenarios, please kindly refer to:
Supported Purposes for MDF Rule Scenarios
Business rules execution in MDF workflow approvals is based on:
- Approver type
- Whether approver will do inflight changes when approving this workflow (update workflow content)
When approver is a middle step approver:
- Middle step approver does not do inflight changes, only simple click "approve" button to approve the workflow - No Rule will be executed.
- Middle step approver did inflight changes on the workflow - Validate Rule (Info, Warning & Error), Save Rule, and Workflow Rule (if the workflow is configured as "edit with route change") will be executed.
When approver is a final step approver:
- Final step approver only clicks "approve" button or did inflight changes on the workflow - Validate Rule, Save Rule, Workflow Rule (if the workflow is configured as "edit with route change" ) will be executed.
Warning Validation Rule wont be triggered, this is by design.
*If business rule is a child object based rule configured under child object, rule will only trigger when approver makes changes on child records during the approving. Otherwise those rules will not trigger.
See Also
Keywords
metadata framework, MDF, workflow, approver, final approver, middle approver, inflight change, business rule, warning, error, workflow approval rule, workflow approval , KBA , LOD-SF-MDF-WFL , Custom Object based Workflows , How To