Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

Control Workflow Launcher by a Specific User Action

Avatar

Level 1

Is there a way to not launch the "DAM Update Asset" workflow if an asset is put in the DAM only by one specific user, but have it launch for assets added by any other user?

 

Re: AEM 6.4

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hey Joy,

Whenever an asset is dragged onto the page, the "DAM Update Asset" workflow launcher is specifically triggered.

With workflow launchers, you can add conditional logic to say whether the resource will be triggered against the workflow or not.

You can achieve this by adding something like:

 

jcr:createdBy=admin

 

Documentation on how to add a condition to Workflow Launchers can be found here -> https://helpx.adobe.com/uk/experience-manager/kb/ConditionsInWorkflowLauncher.html

I hope this helps. 

View solution in original post

2 Replies

Avatar

Level 1
Looks like we found the solution, you can just add a condition like this jcr:createdBy!=user

Avatar

Correct answer by
Community Advisor

Hey Joy,

Whenever an asset is dragged onto the page, the "DAM Update Asset" workflow launcher is specifically triggered.

With workflow launchers, you can add conditional logic to say whether the resource will be triggered against the workflow or not.

You can achieve this by adding something like:

 

jcr:createdBy=admin

 

Documentation on how to add a condition to Workflow Launchers can be found here -> https://helpx.adobe.com/uk/experience-manager/kb/ConditionsInWorkflowLauncher.html

I hope this helps.