Two Users Triggering Same Workflow in AEM 6.3 | Community
Skip to main content
anupampat
Community Advisor
Community Advisor
June 14, 2018
Solved

Two Users Triggering Same Workflow in AEM 6.3

  • June 14, 2018
  • 3 replies
  • 1522 views

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.

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 arunpatidar

Thanks for info.

I tried in AEM 6.3

1. Created workflow with only 1 process step

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)

Events

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

3 replies

arunpatidar
Community Advisor
Community Advisor
June 14, 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
Arun Patidar
anupampat
Community Advisor
anupampatCommunity AdvisorAuthor
Community Advisor
June 14, 2018

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

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

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 14, 2018

Thanks for info.

I tried in AEM 6.3

1. Created workflow with only 1 process step

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)

Events

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