Skip to Content
0
Former Member
Feb 15, 2006 at 04:36 AM

Par For each/ForEach

48 Views

All,

Here s my situation:

I have performed a transformation step 1:N: where i split my messages N times.

After which i am sending my N messages one by one to the receiver.

Now should i use a Parfor each or a ForEach for this scenario???

In either way how should i define my parameters.My source is OrderRequest and my target is OrderResponse(N)

in my container step i defined these msg types

SingleOrderResponse TYPE: OrderResponse_ABS and MultiOrderResponse TYPE: OrderResponse_ABS and now i tried Parforeach in the trasformation step of my BPM:i specified my interface mapping gave source msg as OrderRequest

and target msg as MultiOrderResponse checked the multiline container element,and next is my send step which i included in ParForEachBlock, where i specified my multiline element as MultiOrderResponse and in the currentline i specified singleOrderResponse and in the stpe step i used the singleOrderResponse Msg type.

But in my tranformation step, i have this error msg saying cannot define multiline element....

Can anyone suggest me on what i should do?

Thanks in advance