How to disable DAM Update Asset workflow for a specific path | Community
Skip to main content
Level 2
Jan 25, 2018 11:00 AM UTC
Solved

How to disable DAM Update Asset workflow for a specific path

Hi All,

How can I disable DAM Update Asset workflow for a specific path?

My requirement is, whenever I upload or modify any files under my asset path (/content/dam/myproject/) the default DAM Update Asset workflow should not be launched automatically.

Regards

Denny

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
BrijeshYadav
BrijeshYadavAccepted solution
Level 5
Jan 25, 2018 12:27 PM UTC

Hi Denny,

You can achieve this by modifying existing launcher of dam "Update Assest Workflow".
Open http://localhost:4502/libs/cq/workflow/content/console.html  -- go to -> Launcher Tab and search for DAM Update assest.

Edit configuration and update path filed with /content/dam(?!/myproject).*/renditions/original

/Brijesh Yadav

5 replies

BrijeshYadav
Level 5
Apr 10, 2018 10:49 AM UTC

Hi @azhare3977562

You can add as many as path you want ,
Regular expression for your question would be like below
/content/dam(?!/myproject )(?!/mytest ).*/renditions/original

/Brijesh Yadav

Translate
azhare3977562
Level 2
Apr 10, 2018 7:57 AM UTC

How to disable for 2 path ?

for example I have to disable myproject as well as mytest folder.?

Translate
Level 2
Jan 30, 2018 1:33 PM UTC

Thank you. It works..

Translate
smacdonald2008
Level 10
Jan 25, 2018 9:15 PM UTC

Thank you for the great answer!

Translate
BrijeshYadav
BrijeshYadavAccepted solution
Level 5
Jan 25, 2018 12:27 PM UTC

Hi Denny,

You can achieve this by modifying existing launcher of dam "Update Assest Workflow".
Open http://localhost:4502/libs/cq/workflow/content/console.html  -- go to -> Launcher Tab and search for DAM Update assest.

Edit configuration and update path filed with /content/dam(?!/myproject).*/renditions/original

/Brijesh Yadav

Translate