Limiting the number of workflows | Community
Skip to main content
sindhur17500579
New Participant
May 16, 2018
Solved

Limiting the number of workflows

  • May 16, 2018
  • 4 replies
  • 1247 views

Hi all,

We are automating the dropbox sync to AEM where multiple assets at an go published to Scene7. We have configured the Max parallel jobs to be the number of cores -1 . We need to do batch workflows suppose only after completing the 500 workflows, another set of 500 DAM Update Asset should be run from the code. Is there any way to achieve this?

Thanks,

Sindhu.

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

Please refer below, if it helps

Programmatically activate pages in batches

Thanks

Arun

4 replies

smacdonald2008
New Participant
May 16, 2018

You can determine the running WF instances here:

Hope this helps...

sindhur17500579
New Participant
May 16, 2018

Hi Scott,

Thanks for the reply. How could we determine the number of workflows which are running at a particular time. Appreciate your help here.

Thanks,

Sindhu.

smacdonald2008
New Participant
May 16, 2018

Check with the Eng team that relied:

I expect that the dropbox sync is a custom component, so it would be the place to have the batching logic.  The way it determined how many workflows were completed might be a bit tricky due to the multithreaded nature, but should not be hard maybe have a process step to set some property (synchronized) and check the value. This really has nothing to do with workflow as such.

arunpatidar
arunpatidarAccepted solution
New Participant
May 16, 2018

Please refer below, if it helps

Programmatically activate pages in batches

Thanks

Arun

Arun Patidar