Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Controlling a workflow

Avatar

Level 2

Hi,
I want to control the OOTB DAM Update Asset workflow in such a way that it should get triggered(on updation/creation) for all the nodes under DAM except for those updated/created under /content/dam/abc

How do I achieve this?

I read here that we can use the 'Condition' field of the workflow launcher to impose a condition on which the workflow should be triggered. However, we can only use the node's properties in the condition. Is there any way I can proceed?

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 2

Just stumbled upon this by Sham HC smiley

 

I had to give the following value to the 'Path' field of the workflow launcher.
/content/dam(?!/abc)(/.*/)renditions/original

 

It works like a charm.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Just stumbled upon this by Sham HC smiley

 

I had to give the following value to the 'Path' field of the workflow launcher.
/content/dam(?!/abc)(/.*/)renditions/original

 

It works like a charm.