cancel
Showing results for 
Search instead for 
Did you mean: 

Correlation for files containing multiple records

Former Member
0 Kudos

I was learning correlation from a nice blog below.

/people/milan.thaker/blog/2008/07/23/correlation-150-runtime-behavior-of-bpm

I have one question though. In the case where the correlation is done on a key field say PsNo.

Now if two files have multiple records, will the correlation compare the PsNo of each record or is the comparison just on the first PsNo of each file record.

Thanks,

Minhaj.

Accepted Solutions (1)

Accepted Solutions (1)

GabrielSagaya
Active Contributor
0 Kudos

Hi Minhaj,

1) Suppose if you want to merge 2 files into a single file based on a keyfield (PsNo), You are opting Correlation in BPM.

In your Correlation Editor, You should mention the XPATH Expression for Keyfield(PsNO) for the involved messages.

2) Only if both the values of keyfied(PsNo) in 2 files are equal then Only you can merge all those 2 files into single file.

So first PsNo of each file record is going to compared with another file.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks a lot Gabriel and Chandra. This sovled my query.

Regards,

Minhaj.

former_member581827
Participant
0 Kudos

Hi,

If two files have multiple records, the correlation by name PsNo is specified then it compares for each record and its not for only first record.

Regards,

Chandra.