Posted: 28 Jun 2016 11:05 EDT Last activity: 1 Jul 2016 14:12 EDT
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?
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.