SAP Knowledge Base Article - Public

3456610 - Workflow Rule Defined for the Delivery Block Triggers Incorrect Notification

Symptom

The user has set up two workflows to send notifications when a Delivery Block is set or removed.

For instance: The user has configured the following workflows:

  • Delivery Block Deactivated
  • Delivery Block Activated

The goal is to trigger notifications when the Delivery Block field is set or removed. However, there is an issue where if the Delivery Block field is set along with any other field on the General tab of the Account, the deactivation notification is triggered instead, regardless of the presence of a value in the Delivery Block field.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to Account Management workcenter
  2. Go to Accounts view
  3. Select Account: ABC
  4. Select Edit
  5. Navigate to Sales Data tab
  6. Enter the Delivery Block field value, for eg: Credit Limit
  7. Select Save
  8. Now, go to General Tab
  9. Enter data on to any field, for eg: Additional Name: ABC
  10. Save

Observe, the Activation and Deactivation of Delivery Block notification both are triggered which is incorrect.

Cause

The user has selected the

Resolution

The workflow rule, which is defined based on the Business Object Account, is expected to activate notifications solely when a "Delivery Block" field is changed. However, due to the Value Before Object Change, the predefined conditions are met, resulting in triggering of the notification. Also please note the workflow rule is not limited to a specific field, as per the standard system behavior.

Below are the steps to remove the Value Before Object Change:

  1. Go to Application and User Management workcenter
  2. Go to Workflow Rules
  3. Select the Workflow created on Business Object Account
  4. Select Edit
  5. Navigate to the Conditions tab
  6. Edit the Rule
  7. Notice the Value Before Object Change field is checked
  8. Now, uncheck the Value Before Object Change checkbox
  9. Save
 
 

Keywords

Delivery Block, Workflow Rules, Notification, Account, , KBA , SRD-CC-BTM , Business Task Management , Problem

Product

SAP Business ByDesign all versions