cancel
Showing results for 
Search instead for 
Did you mean: 

Correlation Problem

Former Member
0 Kudos

My scenario is:

I have two messages, take A,B for example

and ID in A,B is taken as correlation

when the A,B message come, the ID maybe

<b>

-


>Time

A 1 2 3

B 3 1

Message A(ID = 1) comes first, then B(ID=3)comes later, then A(ID = 2), then B(ID = 1) and A(ID = 3)comes last

What i want is A.ID = B.ID = 1 and B.ID = A.ID = 3

In the quese of A.ID compare with the queue of B.ID

</b>

My problem is

<b>

Can this two ID Queue be taken as correlation?

</b>

In integration process, it seems we cannot complete this

scenario

Somebody helps me

Thanks a lot

Accepted Solutions (0)

Answers (1)

Answers (1)

henrique_pinto
Active Contributor
0 Kudos

I don't see why not.

In the correlation editor, enter just 1 correlation field (say, ID). Then, enter the 2 message which the correlation will apply to (A and B) and then, for each message, select the XPath of the field which will be read to compare to or to fill the correlation field ID you've defined (will be something like A/ID and B/ID).

Then, in your BPM, the A receiver starts the process and starts correlation, and B receiver uses correlation.

Regards,

Henrique.