Two Users Triggering Same Workflow in AEM 6.3

anupamp17770278 14-06-2018

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.

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar
MVP
14-06-2018

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

Answers (2)

Answers (2)

anupamp17770278 14-06-2018

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

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

Arun_Patidar
MVP
14-06-2018

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