on 09-27-2006 11:00 AM
Hello,
I am trying to do a simple BPM of sending 10 rows through a receive step and then using a loop with transformation and send steps in it as I need to split the mesage and send 1 row at a time. Is this a good approach or do I need to set up a counter for the end condition of the loop? Any help is appreciated as I am getting to know the nuances of BPM...:)
-AR
Hi AR,
IF you have weblog/PDF of the Simple BPM that you are doing,can you please forward it to me ?
My mail ID: mlrshee@gmail.com/mlrshee@yahoo.com
Thanks
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can use the block step to do it
with ForEach for example
this will mean that the block will be executed
as many times as you have lines in a multiline
container variable (your result from one to ten message transformation)
BTW
no need for a counter
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to set up the Block for each in my Integration Process. It is asking for multiline and current line parameters. I cannot selct my current line as they are grayed out but they are mandatory. Also in my multi-line if I set is as my source container , the receive step is giving an error that my source cannot be multiline. Aany ideas guys?
Hi,
<i>, the receive step is giving an error that my source cannot be multiline.</i>
Receive cannot be a multiline. So, after recive , add a container operation where the target element is a multiline element and your source is the recieved message.
<i>I cannot selct my current line as they are grayed out but they are mandatory.</i>
use the multiline elements described above. Create a separate element for the currentline. Make sure it a a process or a block element.
Regards,
Bhavesh
Hi Bhavesh,
Yes I did set them up. My IP looks like this :
1.Receive step
2.Transformation step
3.Container operation ( to make the send step multiline)
4.Block (Multiline- target from container operation, current line - block container)
5.Send step (within the block) - message is the current line of block container.
Am I missing something? 'Cos the payload gets mapped and comes out but doesn't get split..
-AR
Hi,
Yes, you should change the occurece of the target interface and the occurence of the target message type in your Interface and Message Maping respectively as 1..unbounded
Take a look at this blog by michal, to read BPM container elements and see the target of your mapping.
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Regards,
Bhavesh
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.