cancel
Showing results for 
Search instead for 
Did you mean: 

Loop in BPM

Former Member
0 Kudos

Hi,

To understand how a Loop,Multi Line and Container concept work in BPM I created a simple a scenario where in n files from the sender will be sent as n-1 different files to the target as long as the file contains the field <Name> as Vishal.

Loop and Container: Used to collect(Container) the files as long as field <Name> is Vishal. When the 'n'th file with the Name other than Vishal is received I need to stop the loop and transform the message.

The steps i followed in BPM:

1: Block

Mode:Default , Block Start and Block End:New Transaction

2:Loop

Condition: ReceiveMsg/p1:MT_File/DT_CONTENT/FirstName not equals Vishal

Where ReceiveMsg is the abstract interface in the container.

3:Container

Target: ReceiveMsgList, Operation:Append,Expression=ReceiveMsg

Where ReceiveMsgList is the multiline abstarct interface in the container

4:Transformation(Outside Loop)

Both Source Message and Receive Message pointing to ReceiveMsg as it is one to one mapping of same source and target structure.

5:Send

Message:ReceiveMsg, ReceiverFrom:Send Context

There's no error in moni. But I am unable to get the target file.

Pls help me on this. I am not sure whether the steps used are correct.

I did read about Loop , Multi Line and Container concepts before proceeding with the development.

Regards,

Vishal

Edited by: Vishal.P.Kulkarni on Dec 24, 2010 10:09 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

change the Loop condition to Condition: ReceiveMsg/p1:MT_File/DT_CONTENT/FirstName equals Vishal

then till the files come with this data, ur loop will run......

Former Member
0 Kudos

Hi Rajesh,

I had mentioned the same in Loop. By mistake i added not in my question.

It is not working for the same.

Regards,

Vishal

Former Member
0 Kudos

'Permanent error in BPE inbound processing' is the error in qRFC monitor.

former_member200962
Active Contributor
0 Kudos

check the graphic workflow for your BPM....click on PE link which you see in SXMB_MONI....are you sure that the messages are getting into the BPM?

Perform basic checks on your BPM (if not done already)....F7 in IR....return code....objects in ID...correlation in BPM...etc

Regards,

Abhishek.