Get the number of running workflows and Hold the workflow until the count reaches a specific number and wait for workflows to complete
Hi All,
We have a requirement to trigger workflows for multiple AEM pages.
The number of pages will be more than 1000 and based on some node operation we are triggering workflow.
Question is:
How to get the number of active workflow instance(Workflows currently running)
How we can make the workflow triggering sleep if number of active workflows reaches a specific number and run after all completed.
Any idea?