Expand my Community achievements bar.

SOLVED

Limiting the number of workflows

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Please refer below, if it helps

Programmatically activate pages in batches

Thanks

Arun



Arun Patidar

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Please refer below, if it helps

Programmatically activate pages in batches

Thanks

Arun



Arun Patidar

Avatar

Level 10

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.

Avatar

Level 1

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.

Avatar

Level 10

You can determine the running WF instances here:

WFIntances.png

Hope this helps...