Parallel Actions Shape

#12852

I call a web service which returns me potentially three types of orders:
1) Good Order (no exceptions)
2) Order with Business Exceptions
3) Order with Out-of-Inventory Exceptions

I will never get more than 3, but I might get only one of the three or any combination.

I have three branches under a parallel shape. Each checks to see if it has the desired type of order, and if so it processes it.

Right now, I’m getting two orders that flow through branch 2 and 3.

Unfortunately, what is happening is that branch 3 is doing a send/receive (direct binding) that starts an independent orchestration, which eventually causes our internal Human Workflow. Meanwhile, branch 2 is just sitting there doing nothing.

The goal was that branch 2 and 3 would be parallel and that if a receive in either branch is encountered, the other branch keeps running.

Thanks,
Neal Walters
http://Biztalk-Training.com