cancel
Showing results for 
Search instead for 
Did you mean: 

BPM Correlation from Dynamic Configuration not being filled

Former Member
0 Kudos

Hey guys,

I'm having the following problem with BPM correlation.

In my correlation definition, I have 2 fields: one which is filled with information from the message payload, and another one which is filled with a context object (which was created with adapter metadata and filled with dynamic configuration, as refered here: /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further).

All instances of BPM are with error status. And when I go into the workflow log for these processes, if I check the correlation object, it is like this:

<?xml version="1.0" encoding="utf-8" ?> 
<CorrelationKey Version="001">
<Field1 /> 
<Field2>123456789</Field2> 
</CorrelationKey>

Field1 is the one read from context object, and is not being filled (thus I think the error comes from here). Field2 is from payload and is being normally filled.

Any ideas on this matter?

Maybe the problem is not from the correlation. If not, what else could be the case? The BPM crashes on the very first step (one more reason to think that the correlation is the issue).

Thanks in advance,

Henrique.

Accepted Solutions (0)

Answers (3)

Answers (3)

henrique_pinto
Active Contributor
0 Kudos

Closing the thread now...

Regards,

Henrique.

henrique_pinto
Active Contributor
0 Kudos

Guys,

I was not able to make this scenario work.

I redefined source message type to contain the values relevant to the correlation in the payload.

Regards,

Henrique.

Former Member
0 Kudos

Hi,

See the PE in SXMB_MONI_BPE monitor, see the step by step in IP data flow is going correctly or not , you can see the error exactly there,

to monitor the BPM see the belowlink

monitoring BPm https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb4...

Regards

Chilla

henrique_pinto
Active Contributor
0 Kudos

So,

as I said it is crashing in the very first step (a block step to define local correlation).

I have block step, inside it loop, inside it fork with 2 branches, a receive step in each branch, with container operations. After block, there is a transformation and asyn send.

Regards,

Henrique.

Message was edited by:

Henrique Pinto

Former Member
0 Kudos

HI,

In general Correlation , concept, whatever we configured in Correlation editor , i mean in runtime which xml element should filled with which element of which interface ..as you said you have configured the local correlation to block, in block it is the first receive step, while receiving the first message which is relevent to first recieve step , i mean if it receives the one message which is related to first receive step inteface .. the respective element data will be filled in correlation id and it will assign on giud for processing , so while assign the runtime data to correlation element ( imean filling stage) check you said two elements in correlation does the first message contains these two elements ??

if so ok , no then check , and try to use the IM before calling the IP to fill the payload.

Regards

Chilla

Oh closed!!

Message was edited by:

Chandra Sekhar Chilla

Message was edited by:

Chandra Sekhar Chilla

henrique_pinto
Active Contributor
0 Kudos

Thanks Chilla, but yeah, the dynamic configuration was properly set in the message (I could check it in SXMB_MONI pipeline) but it was not read in correlation.

Regards,

Henrique.

Former Member
0 Kudos

Hi,

see correlation concept in SXMB_MONI_BPE see the below link how to monitor BPM

monitoring BPm https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb4...

Regards

Chilla