Setup replication agents group | Community
Skip to main content
October 16, 2015
Solved

Setup replication agents group

  • October 16, 2015
  • 2 replies
  • 949 views

Hello all:

How to select only a group of replication agents for publishing in a workflow step (AEM 5.6)?

thanks,

Peter

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Runal_Trivedi

There is nothing OOTB available for selective replication.

  • You will need to create a custom process step for this and you can pass the agent id dynamically using dialog participant step (have it as step before process step that does selective replication) so that author can select which agent to replicate to.
  • Or if agent id's are mapped to some page path then you can configure the mapping under arguments options of process step, something like path1~agent1:path2~agent2 etc
    • Arguments options you get to see in second tab of process step dialog when you configure the model.

- Runal

2 replies

Runal_Trivedi
Runal_TrivediAccepted solution
Level 6
October 16, 2015

There is nothing OOTB available for selective replication.

  • You will need to create a custom process step for this and you can pass the agent id dynamically using dialog participant step (have it as step before process step that does selective replication) so that author can select which agent to replicate to.
  • Or if agent id's are mapped to some page path then you can configure the mapping under arguments options of process step, something like path1~agent1:path2~agent2 etc
    • Arguments options you get to see in second tab of process step dialog when you configure the model.

- Runal

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Hi Peter,

You can use ReplicationOptions to replicate only to specific agents. 

Refer this https://helpx.adobe.com/experience-manager/kb/CQ5ReplicateToSpecificAgents.html for a code snippet