Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Control Workflow Launcher by a Specific User Action

joyner100
Level 1
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
BrianKasingli
Correct answer by
Community Advisor
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
joyner100
Level 1
Level 1
Looks like we found the solution, you can just add a condition like this jcr:createdBy!=user
BrianKasingli
Correct answer by
Community Advisor
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