close

Filter

loading table of contents...

Studio Developer Manual / Version 2110

Table Of Contents

9.26.9 Synchronization Workflow Specifics

For the Synchronization Workflow, a custom merge strategy can be added to the merge strategy chooser of the Start Synchronization Workflow Panel.

This customization requires a change for the Studio client and the Workflow Server. The change for Studio client is described in this section, for customization of the workflow-server refer to Section 5.6.2.4.7, “ AutoMergeSyncAction in Blueprint Developer Manual .

Adding a merge strategy for a synchronization workflow on the Studio client side is simply done via the WorkflowLocalizationRegistry as shown in the following example.

import CustomSyncWorkflow_properties from "./CustomSyncWorkflow_properties";
import { workflowLocalizationRegistry } from "@coremedia/studio-client.workflow-plugin-models/WorkflowLocalizationRegistry";

workflowLocalizationRegistry._.addMergeStrategyLocalization(
  "CustomSyncWorkflow",
  "newMergeStrategy",
  {
    displayName: CustomSyncWorkflow_properties.newMergeStrategy_displayName,
    description: CustomSyncWorkflow_properties.newMergeStrategy_description
  });

Example 9.124. Adding a New Merge Strategy


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.