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
BedrockMission!

Learn more

View all

Sign in to view all badges

Dam update asset workflow event not getting fired

Nitiks25
Level 3
Level 3

In AEM 6.0, whenever the dam update asset workflow is run, an event is fired with the event.topic: "com/day/cq/workflow/event " and WorkFlowName as "DAM Update Asset". This can be seen in the event console(..system/console/events). But in 6.3, we don't see this event fired. A different event is fired instead with event.topic as "com/day/cq/dam" and type as "DAM_UPDATE_ASSET_WORKFLOW_COMPLETED". The same is not fired in 6.0.

Is this expected ? Or it's a bug in 6.3?

2 Replies
indra_kumarg290
Level 2
Level 2

In 6.3 transient workflow is introduced and update asset workflow is transient OOTB.

Standard workflows save runtime (history) information during their execution. You can also define a workflow model as Transient to avoid such history being persisted. This is used for performance tuning as it saves/avoids the time/resources used for persisting the information.

So the behavior is different in 6.3 than 6.0 and is expected.

DAM_UPDATE_ASSET_WORKFLOW_COMPLETED is internal event for Assets UI.

You can make workflow non-transient from workflow UI to get previous behavior.

https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/workflows.html#TransientWorkfl...

kautuk_sahni
Community Manager
Community Manager

It was added in AEM 6.3. See com.day.cq.dam.api.DamEvent.Type

This event type represents completion of DAM update asset workflow.

Reference post:-