Expand my Community achievements bar.

How to use the AEM listeners for the workflow completion.

Avatar

Level 5

Any Idea of How to use the AEM listeners for the workflow completion. I want to trigger another workflow process on completion of a default DAM Asset workflow.

Thanks,

Krish

3 Replies

Avatar

Level 10

Few options:

1. Events in AEM works on a change / modification in node or property [1], now If youe first workflow does any of these, then it will automatically trigger event listener. Inside event listener you can call Workflow process

[1] http://blogs.adobe.com/experiencedelivers/experience-management/event_handling_incq/

[2] https://helpx.adobe.com/experience-manager/using/events.html

[OR]

2. Based in property or node change done by first workflow you can create a workflow launcher which will call another workflow  (would be simple and configurable)

3. Add a step in the end of Dam Asset Workflow which will executes another process step

Thanks

Avatar

Administrator

Hi 

Adding a reference article covering "Listening a workflow event ":

Link:- https://docs.adobe.com/docs/en/aem/6-0/develop/extending/workflows/wf-extending.html#Listening for Workflow Events

I hope this would be of some help to you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni