SAP Knowledge Base Article - Public

2544383 - Workflow request sends previous child records data again in the new request

Symptom

  • When adding or editing a child record in an MDF object with a composite association, the workflow approval request includes all existing child records, including those that were previously approved.
  • This behavior may appear as if older child records are being resent for approval when only a new child record was added.

Environment

  • SAP SuccessFactors HCM Suite

  • Metadata Framework (MDF)

Reproducing the Issue

  1. Create data for an MDF object with a composite association and one child record to trigger the workflow
  2. Complete the approval process
  3. Now, edit the already created data to add a new child entry to the list
  4. A workflow is triggered for approval including the data for parent and all its child entries

Cause

This behavior is by design.

MDF workflows are evaluated at the parent object level. When a workflow is triggered, the system sends the entire parent object, including all associated child records, regardless of whether individual child records were previously approved.

The standard MDF workflow framework does not support triggering or evaluating approvals at an individual child record level.

Resolution

This is an expected behavior in workflow approval process:

  • Whenever a change is made to a parent object or its child records (for example, adding a new child record), the workflow approval request will always include the full set of parent and child data at that point in time.
  • The workflow does not differentiate the approval request per child record basis as per the standard design.

Keywords

Metadata Framework, MDF workflows already approved records, MDF new approval, Workflow includes previous child records, previous child record, Old child records appear in approval, Workflow approval shows all child entries, Adding child record triggers workflow, MDF workflow sends all records, Workflow triggered when adding new child, approval includes already approved records,  , KBA , LOD-SF-MDF-WFL , Custom Object based Workflows , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Problem

Product

SAP SuccessFactors HCM Suite all versions