Control Workflow Launcher by a Specific User Action | Community
Skip to main content
joyner100
April 21, 2020
Solved

Control Workflow Launcher by a Specific User Action

  • April 21, 2020
  • 2 replies
  • 1910 views

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.
Best answer by BrianKasingli

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
April 21, 2020
Looks like we found the solution, you can just add a condition like this jcr:createdBy!=user
BrianKasingli
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
April 22, 2020

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.