cancel
Showing results for 
Search instead for 
Did you mean: 

two files in sequence - BPM co relation error

Former Member
0 Kudos

Hi Alll,

I have a simple query..

There are two files of different structure a.xml and b.xml

I have to process file a.xml and then b.xml

In the comm channel I have given *.xml

I am using a BPM for this...

I have used a rcv step .. send step .. wait and then a rcv step and a send step...

The second rcv step askd for a corelation whereas I am not collecting the files I am just simply instantiating the intefaces so a.xml runs first and then b.xml...

Ne idea on how to do this?

Regards,

teja

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ravi,

For the right processing order, try to use parameter "Processing Sequence" = Time.

For the time gap try to put a value in "Msecs to wait" under advanced tab with checking "Advanced mode".

regards,

ganesh.

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Why are you using BPM for this scenario? If it is only to send the files in order, try other methods as suggested above and avoid BPM.

Regards,

Prateek Raj Srivastava

Former Member
0 Kudos

Hi Prateek,

This is actually a file to rfc scenario where file a.xml is sent to rfc and on receiving the response from the rfc we have to run the b.xml file...

so I tried the bpm... but the second receiver in the bpm is causing the issue... ne idea on this?

so my bpm look like this

rcv - > synch send -> send -> rcv - > synch send- > send

Edited by: Ravindra Teja on Nov 1, 2011 8:42 AM

Former Member
0 Kudos

Any help guys...

Former Member
0 Kudos

Hi,

Take help from Patterns :-

BpmPatternSerializeMultipleTrigger

or Do your files have anything (field) in common ?

Former Member
0 Kudos

Hi ,

Try in the following way.

1) Use separate sender agreements to retrive the 2 files (a.xml , b.xml )

2) Design the BPM as like below.

a) 2 Receive in fork (use Dummy Co-relation)

b) Send Synch (to send and recieve response - Use the First Recieve message)

c) Check (check the condition and use the Second Recieve message here for the below Send step)

d) Send - Use the 2nd Recieve messgae.

Regards,

SD