Skip to main content
joyner100
Apr 21, 2020 7:07 PM UTC
Solved

Control Workflow Launcher by a Specific User Action

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
BrianKasingli
BrianKasingliAccepted solution
Adobe Champion and Community Advisor
Apr 22, 2020 8:56 AM UTC

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. 

2 replies

joyner100
joyner100Author
Apr 21, 2020 9:00 PM UTC
Looks like we found the solution, you can just add a condition like this jcr:createdBy!=user
Translate
BrianKasingli
Adobe Champion and Community Advisor
BrianKasingliAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Apr 22, 2020 8:56 AM UTC

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. 

Translate