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

Workflow to publish pages and nt unstructured nodes

Avatar

Level 4

Hi There ,

 I'm building a process step to be part of a workflow in which based on the pay load path , I need to active its peers and also some nt unstructured nodes pragmatically . I'm trying to use using Replicator  to achieve it .  

public abstract void replicate(Session paramSession, ReplicationActionType paramReplicationActionType, String paramString) . 

 My question is Am I using the best utility to achieve this use case  ? Also for nt unstructured nodes , if I give the path of the parent , will it automatically activate all its child nodes or do I need to loop and activate each node ?

I could have tried it myself as a PoC but have severe time constraints and though some one would have already tried it here . 

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 10

Activating the parent will activate its child nodes aswell.

Yes, replicate(session, replicationActionType, string) is the right way to activate the nodes !

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Activating the parent will activate its child nodes aswell.

Yes, replicate(session, replicationActionType, string) is the right way to activate the nodes !

Avatar

Level 4

Thanks for your reply, appreciate it.