Task Queues inside a loop.

0
Hi all, I have two microflows, A and B. A is the parent microflow, and B is called from inside a loop. I’m running A using a multi-threaded process. However, when the task queue execution reaches the loop, all the queued tasks are processed sequentially instead of in parallel. Could I be missing something in my configuration?   TIA.
asked
1 answers
0

Hi Mahendra, 

 

Given that you've created the Task queue with more than 1 thread, perhaps it has to do with the available number of cores? See Thread count recomendation.

 

From the documentation:

"Microflows or Java actions that are run in the background run as soon as possible in the order they were created, but possibly in parallel. They are consumed in FIFO order, but then run in parallel in case of multiple threads. (...)"

 

Hope this helps,

João

answered