cancel
Showing results for 
Search instead for 
Did you mean: 

Correlation (?)

prabhu_s2
Active Contributor
0 Kudos

Hi

To make myself clear and have a clear undestanding on correlation i had taken an example as below:

I have 2 source (basically 2 files). One of the source file is a header file and in another source file contains the log. The link between the two file is the ID.

Say file A contains:

A, cooper, 10, kg

b, TRAX89, 56, lt

c, Heat spreaders, 20, PC

and my file B contains:

A, deleivered on 12/09/06

b, inventory as on 01/10/2006

b, MTO 12/10/2006

A, retrun delivery on 12/09/06

c, delivery confirmed

A, scrap cooper

I want to send target message based on the ID which links both the files. My target system should receive the data like below

A, cooper, 10 Kgs

A, deleivered on 12/09/06

A, retrun delivery on 12/09/06

A, scrap cooper

follwed by the second message in the same pattern

Can Correlation be helpful in this case?

Kindly let me know the steps involded and help me in building this scenario using correlation concept for better undestanding.

thkx

Prabhu

Accepted Solutions (0)

Answers (3)

Answers (3)

prabhu_s2
Active Contributor
0 Kudos

Hi All

Thanks for your inputs. Got the escense of correlation. My understanding is briefed below, pls correct me if i'm wrong:

i have two receivers and corelation is set for the 'ID' field. <b>receiver1</b> gets the input message as:

<i><b>E1,header line 1</b></i>

When i check my monitoring the process is in Q which is indicated by clock symbol.

Again there is one more message recevied by <b>receiver1</b> and its contents are:

<i><b>E2, header line1.</b></i>

This is also is Q waiting for its corressponding message.

If <b>receiver2</b> get the message as:

<i><b>E1, Line item 2</b></i>

the message is correlated with <i><b>E1,header line 1</b></i> and is processed. This can be verified when we have a checked flag indicated (thru one send step in BPM) and similarily for the second message.

moorthy
Active Contributor
0 Kudos

Hi,

To understand Correlation concept, you can go thru this blog-

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

You can use correaltion in your scenario with BPM,

Regards,

Moorthy

prabhu_s2
Active Contributor
0 Kudos

Hi Moorthy

Can you pls let me know the steps involved. I would like to try this.

Regards

Prabhu

former_member192798
Active Contributor
0 Kudos

Hi Prabhu,

Take a look at this thread which explains with an example:-

Hope this helps.

Regards.

Praveen

Former Member
0 Kudos

Prabhu,

To my understanding, Correlation is to relate two things.

In your example,

Correlation is sth like cooper.

Say for example, u want to post a GR which has PO number as a ref. In this case, PO number can be used as correlation object.