Prevent Multiple workflow on same payload AEM 6.4 | Community
Skip to main content
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

I agree with you, it may not be working with all the workflow launch/views or options to create workflow. But same can be implemented to handle other possibilities. I created above just for PoC to show hoe to handle above problem.

3 replies

arunpatidar
Community Advisor
Community Advisor
December 11, 2018

It works in 6.4 as well, I just checked. Can you see any error in browser console? or which category are you using for this js.

Arun Patidar
Level 2
October 13, 2020

Hi @arunpatidar ,

 

Could you specify which category did you use for the custom clientlib and how did you restrict the further processing after clicking on the create workflow.

I have been trying with multiple categories for the custom script. The script is executing but i am unable to stop further processing to go on launch workflow screen.

I have tried with event.preventDefault(),event.stopPropagation(),event.stopImmediatePropagation() but no luck.

AEM - 6.5 

 

selvaganesh
Level 5
December 11, 2018

It started working after I added class cq-common-admin-timeline-toolbar-actions-workflow in column view. Now it is not working in list view. I guess we need to handle different views

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
December 11, 2018

I agree with you, it may not be working with all the workflow launch/views or options to create workflow. But same can be implemented to handle other possibilities. I created above just for PoC to show hoe to handle above problem.

Arun Patidar