Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

NWPBM : Problem while using parallel for each

$
0
0

Hello,

 

I have a NWBPM scenario where there are two synchronous Enterprise Services. The BPM uses the first sync service to query ECC and gets the list of Outbound Deliveries based on an external delivery number. Later, on the list of Outbound Deliveries BPM does GoodsReceipt for them.

 

Here I am using Parallel for each based on OutboundDelivery/ID to query ECC to perform individual GoodsReceipt.At runtime, BPM creates those many number of queries to ECC, but all the queries has value of only the first Outboud Delivery.

For example :

 

Response from ECC of the list of Outbound delivery is :

 

          <OutboundDelivery> 

                <ID>80000074</ID>
                <TypeCode>73</TypeCode>

            </OutboundDelivery> 

            <OutboundDelivery> 

           <ID>80000076</ID>

            <TypeCode>73</TypeCode>

           </OutboundDelivery> 

 

 

  In this case BPM should perform goods receipt twice one for 80000074 and the other for 80000076. Although the BPM performs goodsreceipt twice, but it always takes first Outbound Delivery 80000074.

 

  Query done from BPM  :

 

-<GoodsMovement>

<BaseBusinessTransactionDocumentID>80000074</BaseBusinessTransactionDocumentID>

<BaseBusinessTransactionDocumentTypeCode>73</BaseBusinessTransactionDocumentTypeCode>

-</GoodsMovement>

 

  Please help me identify if I had missed something.

 


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>