Wednesday, October 7, 2015

How to extend Replication Page Process for workflow in AEM

Use Case: You want to extend existing replication page process and add your own logic during workflow step. Some of common use case could be,
1) Activate Asset as soon as it is uploaded to DAM


Here is sample code you can use for this,

What this code is doing is trying to find DAM asset path from workflow item and then activating DAM asset instead of activating just original node when OOTB activate page workflow is used.

Once you add your code, you can add this as workflow step in your workflow. If you are extending model.xml for workflow then it will look something like this,

            description="A process to activate a page or asset"
            title="Activate Original Asset"

Also you have to make sure that you have right dependency in your pom.xml. If you are using AEM6.1 then you need to use


As usual if you have any question or comment please let me know.


  1. It's perfect for those students, who want to study about this faculty. I like the news that you have written in a detail. I like play games ninja games online, free games, Douchebag Workout 2, papa games. How about you?
    Stick RPG

  2. I like the news that you have written in a detail.
    Thank you for the information you provide. I had a look to start my own. Papas Games | Papas Game | Papa Games | | Papas Games | Papas Game | Papas Games | Stick RPG 2 |
    Stick RPG 2 | Stick RPG | StickRPG2 | Stick RPG | Happy Wheels |
    Happy Wheel | happy wheels game |
    Happy Wheels | Happy Wheel | happy wheels game |

  3. Great post! I am actually getting ready to go across, this post is very informative. By the way, Get
    Happy Friendship Day SMS
    Happy new years
    happy birthday Messages

  4. Great blog here with all of the valuable information you have. Keep up the good work you are doing here... big sean instagram
    Christmas Love Quotes
    Darkness Quotes

  5. tense moments later, the game has always been a key, here's an example.
    Unblocked Games, Friv, Yepi 2, Y3 Games, Kizi Games, Y8 Games, Friv 2 Games

  6. I would like more information about this, because it is very nice. Thanks for sharing. The game you like it? Douchebag workout is the second version of Douchebag workout. I like play game as StickRPG2, score hero download and piano tiles online Mutilate A Doll 2 game