Replication with Options is a Process steps that will traverse the entire content tree, and process the each dam:Asset, cq:Page or cq:Tag (cq:Tag since version 4.0.0) replicating each node based on the Process Args.
How to Use
Processing the tree in a serial fashion allows for a more controlled workflow execution decreasing the chances of overloading AEM. Setting throttle to true decreases the chances further.
Process Args Options
replicationActionType
synchronous=true|false
suppressVersions=true|false
throttle=true|false
traverseTree=true|false
agents=<agent-node-name>,<agent-node-name>
Source: https://adobe-consulting-services.github.io/acs-aem-commons/features/workflow-processes/content-traversing-replicate-with-options/index.html
Processing the tree in a serial fashion allows for a more controlled workflow execution decreasing the chances of overloading AEM. Setting throttle to true decreases the chances further.
Process Args Options
replicationActionType
- Options include ReplicationActionType’s: ACTIVATE or DEACTIVATE or DELETE
- true or false
- Defaults to false
- If true, throttles the execution using ACS Commons Throttled Task Runner (part of ACS Commons Fast Action Manager)
- true or false
- Defaults to false
- If true, walks the entire content tree under the payload looking for the first dam:Asset nodes to process (does not process sub-Assets)
- true or false
- Defaults to false
- Typically best to set to true to ensure the replication queue does not build up.
- true or false
- Defaults to false
- Typically best to set to false if version are not required (as their creation is work to be done)
- The node name of the agent to target for replication. For example, to target /etc/replication/agents.author/publish-1, provide the agentId of publish-1.
- Defaults to empty
- This is a required field
- Due to a bug, this requires atleast 1 agent to be provided. When this bug is resolved, the documentation will be updated
synchronous=true|false
suppressVersions=true|false
throttle=true|false
traverseTree=true|false
agents=<agent-node-name>,<agent-node-name>
Source: https://adobe-consulting-services.github.io/acs-aem-commons/features/workflow-processes/content-traversing-replicate-with-options/index.html
No comments:
Post a Comment
If you have any doubts or questions, please let us know.