Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Multiple Workflow instances for same payload

Avatar

Level 2

Hi,

In AEM 6.2 author instance, we are able to initiate multiple Workflow instances for the same page/node from Touch UI.

Whereas, in Classic UI, it is working and can't able to initiate the second workflow for the same page. It says "Page is already subjected to workflow".

But in Touch UI, it allows initiating multiple workflow instances for the same page.

I would like to restrict this behaviour and allow AEM author to initiate only one workflow instance for a payload. Is this feasible on AEM 6.2?

Regards,

Vishnu

1 Accepted Solution

Avatar

Correct answer by
Level 8

You cannot restrict to one workflow in Touch UI you need to use classic UI. if you still want to use Touch UI you need to write a custom script. please check below thread

Restricting a page to be subjected to workflow only once at a time in AEM 6.3

I feel we should have control to restrict in Touch UI also.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 8

You cannot restrict to one workflow in Touch UI you need to use classic UI. if you still want to use Touch UI you need to write a custom script. please check below thread

Restricting a page to be subjected to workflow only once at a time in AEM 6.3

I feel we should have control to restrict in Touch UI also.

Avatar

Community Advisor

I have tried some script in browser and has added it here Re: Restricting a page to be subjected to workflow only once at a time in AEM 6.3 . Whoever is good with jquery can modify/beautify and share it back I tested this in browser and I could prevent another workflow initiation.