cancel
Showing results for 
Search instead for 
Did you mean: 

condition in receiver determination

Former Member
0 Kudos

Hi,

I am using PI 7.1. My input message is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_EODReport xmlns:ns0="http://hsbc.com">

<Record>

<ReportDate></ReportDate>

<ACHEODReportFlag></ACHEODReportFlag>

</Record>

</ns0:MT_EODReport>

I want to put a condition in Receiver Determination to check whether <ACHEODReportFlag> tag contains value 'X' . How should i put this condition?

View Entire Topic
Former Member
0 Kudos

hi Shilpa

in your receiver determination go to condition editor select XPATH of your required tag and give the condition = 'X'

hope thiw will help you

thanks

sandeep

Former Member
0 Kudos

Hi All,

When i select XPATH in Expression editor, i am not able to see the struture of the message.

and if i manually insert the expression /p1:MT_EODReport/Record/ACHEODReportFlag = X the scenario doesn't work as required.

udo_martens
Active Contributor
0 Kudos

Hi,

check out expression

//ACHEODReportFlag

Regards,

Udo

Former Member
0 Kudos

Hi Udo,

Thanks...Its working.