Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

When to create custom agent on publish in author instance of aem

annkitaaggarwal
Level 3
Level 3

Hi All,

 

i am new to replication so everything is going above my head, we have a custom agent on publish which is created on author instance and i am unable to activate it even. when do we create a agent on publish in author and how to activate it. We do have a custom transport handler code but control is never going to it while debugging. So confused. 

 

annkitaaggarwal_0-1640846841593.png


 
Updating Media
 

 

 

 

Read adobe documents, still unclear.

 

Any help is appreciated.

7 Replies
Jörg_Hoh
Employee
Employee

If this agent should be running on publish and should be triggered by an incoming replication, you should check the "on receive" in the triggers tab of your custom agent.

Jörg_Hoh
Employee
Employee

So is the activation of this agent the problem you need to solve?

annkitaaggarwal
Level 3
Level 3

activation too, plus there is a transport handler written for this replication agent, i am unable to take the debug control to that

Jörg_Hoh
Employee
Employee

Have you already tried it on a purely local setup (meaning running author and publish on your local development machine)?

Jörg_Hoh
Employee
Employee

If it works locally we can most likely rule out major coding issues.

The easiest way to deploy a custom agent to publishs is probably to include it a deployment package. The next best is to create it on author and then replicate it (can be done via CRXDE).