Limiting the number of workflows | Community
Skip to main content
sindhur17500579
New Participant
May 16, 2018 7:14 AM UTC
Solved

Limiting the number of workflows

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.
arunpatidar
arunpatidarAccepted solution
New Participant
May 16, 2018 11:03 AM UTC

Please refer below, if it helps

Programmatically activate pages in batches

Thanks

Arun

Arun Patidar

4 replies

smacdonald2008
Level 10
May 16, 2018 1:32 PM UTC

You can determine the running WF instances here:

Hope this helps...

Translate
sindhur17500579
New Participant
May 16, 2018 1:01 PM UTC

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.

Translate
smacdonald2008
Level 10
May 16, 2018 12:43 PM UTC

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.

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
May 16, 2018 11:03 AM UTC

Please refer below, if it helps

Programmatically activate pages in batches

Thanks

Arun

Translate
Arun Patidar