Symptom
Customer configured multiple Basic business rules on one single object to trigger different workflows, but find there will have variable issues like business rules executed however approver window does not pop-up,etc.
Environment
- SAP SuccessFactors HXM Suite
- Metadata Framework (MDF)
Reproducing the Issue
- Configure multiple Basic scenario rules to trigger workflows on "Save Rules" section of a single object.
- Found that there will have variable issues like from rule trace logs, all business rules executed, however approver window does not pop-up.
Cause
Since the order of rule trigger/execution is random, the final rule which will work for this object will also be random. Though system won't prevent configurating multiple Basic rules in a single Object , it can cause various issues like some workflows cannot be triggered properly or approver window does not pop-up, etc.
Resolution
If you would like to trigger workflow via business rule, it is recommended to configure only one business rule to trigger workflow in Save Rules section of a single Object.
Instead of using Basic business rule, please use MDF Scenario rule and set purpose= Workflow.
System will prevent user from creating additional workflow business rules in a single Object when using MDF Scenario rule.
See Also
2768151 - Triggering workflows on MDF objects using business rule.
Keywords
MDF, Metadata Framework, MDF Workflow, MDF Business Rule, wfConfig, Scenario Based rule, Basic Rule, custom MDF, workflow routing, wfconfiguration, multiple, save rules, multiple business rules, Object , KBA , LOD-SF-MDF-WFL , Custom Object based Workflows , How To