Expand my Community achievements bar.

SOLVED

Two Users Triggering Same Workflow in AEM 6.3

Avatar

Level 5

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

Avatar

Correct answer by
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



Arun Patidar

View solution in original post

3 Replies

Avatar

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


Arun Patidar

Avatar

Level 5

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

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

Avatar

Correct answer by
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



Arun Patidar