Skip to Content
0
Former Member
Mar 31, 2016 at 07:39 AM

XPATH Condition receiver determination in PI 7.31

1078 Views

Hi Experts,

I am using the below expression in RECIVER PI 7.31singlestack

/p1:VDA490500/S512/ABCDE ≠ 155 OR /p1:VDA490500/S512/ ABCDE ≠ 37 OR /p1:VDA490500/S512/ ABCDE ≠ 60 OR /p1:VDA490500/S512/ ABCDE ≠ 060 OR /p1:VDA490500/S512/ ABCDE ≠ 117 OR /p1:VDA490500/S512/ ABCDE ≠ 006 OR /p1:VDA490500/S512/ ABCDE ≠ 28 OR /p1:VDA490500/S512/ ABCDE ≠ 371 OR /p1:VDA490500/S512/ ABCDE ≠ 100

Requirement is anything other than 155,28,37,060,60,371 we have to send to target.But it is not happening with above condition.

When I checked 371 is went successfully processed supposed to not to go the receiver.

What condition do I need to use restrict above values in the XPATH message.

/p1:VDA490500[(S512/ABCDE = "155" or S512/ ABCDE= "37" or S512/ABCDE = "60" or S512/ ABCDE ="060" or S512/ABCDE ="006" or S512/ABCDE = "28" or S512/ABCDE = "371")]

Or

(/S512[(ABCDE != '1'and ABCDE != '2' and ABCDE != '3')]) EX

Above expressions are correct as per my requirement.

Field are capitals only in the input payload.

Thanks

Prem