Symptom
You maintained two Workflow Rules for Suppliers, one for Bank Data and the other one for Purchasing Data. You noticed that when changing the payment data, a notification from both workflow rules are being sent.
However, only one workflow should be triggered.
Environment
SAP Business ByDesign 2205 and higher.
Reproducing the Issue
- Go to the Application and User Management work center.
- Then go to the Workflow Rules view.
- Create the two Workflow Rules for Suppliers, one for Bank Data and the other one for Purchasing Data.
- Once it's finished, change the payment data of a supplier.
- You will receive a notification from both Workflow Rules.
Cause
Currently, this is the expected system behavior.
Resolution
Although this is the expected system behavior, we would suggest you to do the following:
We would recommend to slightly change the modeling of your two workflow rules for detection of changed bank data and purchasing data, respectively.
For the purpose of such a detection we have delivered simple Boolean fields: "Bank Data Changed" which delivers a "true" in case any relevant part of the bank data has changed, "Purchasing Data Changed" which delivers a "true" in case any relevant part of the purchasing data has been changed.
You can enter the necessary condition in the following way:
Example:
Workflow rule for "Bank Data Changed": As Field: "Bank Data Changed" (do not check the "Value Before Object Change") Compare Operator: "Equal to" With: "Value" and check the checkbox right to the "Value"
This should be enough, as you only need this one Group.
Then the same with the workflow rule for "Purchasing Data Changed" - here, of course, you might want to select the field "Purchasing Data Changed".
After that, the conditions for the workflow trigger should no longer overlap and the notification should only be triggered once in case you only change one of the data sets.
Keywords
Workflow Rules, Workflow Rules for Suppliers, Bank Data, Purchasing Data, Notification, Sending twice, duplicated, , KBA , SRD-MD-BP-SUP , Suppliers , How To