SAP Knowledge Base Article - Public

3837160 - Transport of workflow definitions fails with "Document generation group is empty or doesn’t exist" for CC roles

Symptom

  • Configuration Transport Center validation/import of Workflow Configuration fails for workflows that include CC roles.
  • Error message: "[Parent path Workflow]. Errors encountered for key [Cc Role : Errors: [{Document generation group is empty or Document generation group {0} doesn’t exist.}]"

Environment

  • SAP SuccessFactors Employee Central Workflows - Configuration, Tools, Objects & Rules

Reproducing the Issue

  1. In the source instance, open Configuration Transport Center and select Platform > Workflow Configuration.
  2. Add a workflow that has a CC role referencing an Email Template Group (Document Generation Group) to a transport bundle.
  3. Transport the bundle to the target instance.
  4. Validate the import in the target and observe the error: "Document generation group is empty or Document generation group {0} doesn’t exist."

Cause

When reporting and exporting on Workflow CC Role, the field wfConfigCC.emailConfiguration shows an internal ID instead of the externalCode of the referenced Email Template Group (Document Generation Group). But the file being imported is passed with externalCode of the Document Generation Group causing error.

Resolution

An enhancement is open to fix the behavior via Configuration Transport Center and reports. Internal enhancement #ECT-239870

Workaround:
Source:
1. Note down the group name values of email template group of workflows transported from source instance from 'Manage Org, Pay and Job Structures' page. (OR You can report on "Workflow CC Role" via adHoc report or story reports and note the internal IDs.)

2. Check Group IDs of these group name/InternalIDs values from searching 'Document Generation Group' data under 'Manage Data' page (Or by exporting Document Generation Group MDF object).

Target:

3. Replace the relevant group ids in FO_wfConfigCC.csv file for target instance file.

4. Now go to target instance and then go to 'Import Foundation Data' tool and import this Workflow CC Roles csv file.

See Also

Keywords

Configuration Transport Center, CTC, workflow transport, workflow CC role, email template group, document generation group, wfConfigCC.emailConfiguration, internal ID, workflow definition, EC workflows, target system, transport bundle, ECT-239870, INC8970825 , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Product Enhancement

Product

SAP SuccessFactors Employee Central all versions