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

Two Users Triggering Same Workflow in AEM 6.3

anupamp17770278
Level 2
Level 2

Scenario:  I have a custom workflow which has only one Process Step. It gets triggered through a launcher.

Issue: I See the WF gets triggered 3-4 times. One by Admin(I have logged in as admin), and rest by workflow-process-service.

I am not sure why will the same workflow get triggered multiple times by different users.

Work Around: After adding another step Goto or participant step it gets triggered by the admin user only which should be the expected behavior.

Not sure if this has something to do with permissions. Any help on this is appreciated.

1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

Thanks for info.

I tried in AEM 6.3

1. Created workflow with only 1 process step

Screen Shot 2018-06-14 at 2.58.31 PM.png

2. Invoked that workflow from Launcher.

3. I can see only one item in Archived(http://localhost:4502/libs/cq/workflow/admin/console/content/archive.html)

Screen Shot 2018-06-14 at 2.55.11 PM.png

Events

Screen Shot 2018-06-14 at 3.04.33 PM.png

If posible can you please explain check events(http://localhost:4502/system/console/events ) and provide some more info.

Is you process acting/modifying on tags also?

Thanks

Arun

View solution in original post

3 Replies
Arun_Patidar
Community Advisor
Community Advisor

Hi,

Which version are you using?

And what is event for workflow triggered

  • Event Type (node creation, deletion, modification, etc.)
  • Type of node
  • Location where event should be “watching”
  • Condition (properties of the node) to match
anupamp17770278
Level 2
Level 2

Its on node modify. The condition is set on cq:tags==<certain_tag> .

Type= nt:unstructured Location: /content/dam(/.*/)jcr:content/metadata

Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

Thanks for info.

I tried in AEM 6.3

1. Created workflow with only 1 process step

Screen Shot 2018-06-14 at 2.58.31 PM.png

2. Invoked that workflow from Launcher.

3. I can see only one item in Archived(http://localhost:4502/libs/cq/workflow/admin/console/content/archive.html)

Screen Shot 2018-06-14 at 2.55.11 PM.png

Events

Screen Shot 2018-06-14 at 3.04.33 PM.png

If posible can you please explain check events(http://localhost:4502/system/console/events ) and provide some more info.

Is you process acting/modifying on tags also?

Thanks

Arun

View solution in original post