Dam update asset workflow event not getting fired

Avatar

Avatar
Validate 10
Level 2
Nitiks25
Level 2

Likes

11 likes

Total Posts

31 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 2
Nitiks25
Level 2

Likes

11 likes

Total Posts

31 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
Nitiks25
Level 2

30-05-2018

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?

Replies

Avatar

Avatar
Give Back 3
Level 2
indra_kumarg290
Level 2

Likes

4 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Give Back 3
Give Back
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Give Back 3
Level 2
indra_kumarg290
Level 2

Likes

4 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Give Back 3
Give Back
Boost 3
Boost 1
Affirm 1
View profile
indra_kumarg290
Level 2

30-05-2018

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...

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,200 likes

Total Posts

6,394 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,200 likes

Total Posts

6,394 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

30-05-2018

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:-