Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Setup replication agents group

Avatar

Level 1

Hello all:

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

thanks,

Peter

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 10

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