How to run single work object's subflows across multiple threads parallel?

Under single requester I need to process parallel sub flows of single work object from different threads. Please give me a suggestion. Can this be done using RedirectAndRun activity, Queue method or Split for each smart shape?

Message was edited by: Lochan to add Category

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

July 1, 2016 - 1:20pm


You can try Split For Each .

Bit old, but here is an excellent example of how split for each works :

July 1, 2016 - 2:12pm

Hi Kasun,

I think any of the methods you mentioned could work. Which is best probably depends on your business requirements. Can you add a bit more context? So you have a work object and need to spin off sub-flows that work on the one item (in which case you don't want multiple threads, due to duplication of data and the potential problems that can cause)? Or are they on separate work objects? Is your parent a work cover and the children covered items? You may still not not want to use different threads, just process items one at a time. Or you could put them in their own threads depending on what happens down stream. Without knowing more, I think I agree with Santanu that split for each is probably a great place to start.