SAP Knowledge Base Article - Public

2384473 - Configuration Transport Center error regarding workflow

Symptom

When transporting workflows from one instance to another through Configuration Transport Center, the below errors pop up:

  1. Cannot apply 'Relationship to Approver' value to DYNAMIC_ROLE. 'Relationship to Approver' values are only valid for ROLE
  2. Cannot apply context TARGET to DYNAMIC_GROUP

Environment

SAP SuccesFactors Employee Central

Reproducing the Issue

Synchronize Workflow

1. Navigate to Instance Synchronization Monitor Tool

2. View the logs from the workflow sync ID

3. You can observe the below error messages:

  1. Cannot apply 'Relationship to Approver' value to DYNAMIC_ROLE. 'Relationship to Approver' values are only valid for ROLE
  2. Cannot apply context TARGET to DYNAMIC_GROUP

Cause

This happens when the Workflow was initially saved with Role as approverType. Then the same workflow was edited changing the approverType from Role to Dynamic Role. Or the same work flow was edited changing approver type from Role to Dynamic Group. 

Even though Relationship to Approver and Context value got removed on UI, in data base, the data still exists.

Resolution

This is a known issue. The fix for this issue is planned to be deployed on 1H 2027 release.

Current workaround:

To correct this, please delete the all the values in "wfStepApprover.relationshipToApprover" column for all "wfStepApprover.approverType" as "DYNAMIC_ROLE" and delete all the values in the "wfStepApprover.context" column for "wfStepApprover.approverType" then reimport the Workflow file via Import Foundation Data from Admin Center.

Note: A permission has to be granted to your permission role to be able to see this option (Manage Permission Role > Select a Permission Role > Manage Foundation Objects > Import Foundation Data).

New workaround: (will be introduced by 1H 2027)

You can fix the issue by editing the workflow and resaving it again via Manage Organization, Pay and Job Structures.

Keywords

KI-GENERAL, ECT-263932, configuration transport center, sync workflow, Workflow Instance Sync; Workflows, Instance Synchronization Monitor Tool, configuration transport center, Cannot apply 'Relationship to Approver' value to DYNAMIC_ROLE. 'Relationship to Approver' values are only valid for ROLE, Cannot apply context TARGET to DYNAMIC_GROUP , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Known Error

Product

SAP SuccessFactors HCM Core 1608