AEM as a Cloud Service MSM: Combining standard rollout actions and targetActivate
This article addresses whether it’s supported to combine standard Multi Site Manager (MSM) synchronization actions and the targetActivate action within a single rollout configuration in Adobe Experience Manager (AEM) as a Cloud Service, and outlines the recommended approach.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS) (all versions)
Symptoms
Organizations using MSM in AEM as a Cloud Service may want to automatically synchronize and publish a Live Copy when the source content is modified. The desired workflow is:
- Source page is modified.
- MSM rollout is triggered.
- Standard MSM synchronization actions (such as
contentUpdate,contentCopy,contentDelete,referencesUpdate,orderChildren) are executed. - Live Copy is updated.
- Live Copy is activated/published using
targetActivate.
The question is whether it’s supported to configure a single custom MSM rollout configuration that:
- Triggers on source page modification (
cq:trigger = modification) - Executes the standard MSM synchronization actions
- Then activates the resulting Live Copy page using the standard MSM
targetActivateaction - Guarantees that
targetActivateexecutes only after all synchronization actions have completed
Cause
AEM as a Cloud Service enforces that targetActivate must be the only synchronization action in a rollout configuration to ensure predictable and supported MSM behavior. Combining it with other actions in a single rollout configuration isn’t supported and may impact system stability and performance.
Resolution resolution
Follow the steps below to address this requirement:
-
Review Adobe’s official MSM documentation for rollout configurations and best practices.
-
Understand that in AEM as a Cloud Service, the
targetActivateaction must be the only synchronization action in a rollout configuration. -
Don’t combine
targetActivatewith other standard synchronization actions (such ascontentUpdate,contentCopy,contentDelete,referencesUpdate,orderChildren) in the same rollout configuration. -
If automatic publishing of the Live Copy immediately after a successful modification-triggered rollout is required, implement this as two separately orchestrated operations:
- First, trigger the MSM rollout for synchronization.
- Second, initiate the activation operation only after successful completion of the MSM rollout, using custom application logic or workflow orchestration.
-
Verify that the Live Copy is published only after the synchronization rollout has completed.