Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

XPATH Expression in ICO for Exists

$
0
0

Hi,

 

Currently i am routing messages in an ICO for two different interfaces from a single source. This condition is at the Receiver Interface level as both belong to the same Business System.

The structure goes by this,

MT_BatchProcess

       BatchProcess

            LineType1

            LineType2

            LineType3

            LineType4

 

Condition: If LineType2 exists, then run the interface for ReceiverInterface 1

                If LineType3 and LineType4 exists, then run the interface for ReceiverInterface 2

 

XPATH Expression:  Type: String              Multiline: Checked

 

/MT_BatchProcess/BatchProcess[count(LineType2 >0 ]  EX      ----> ReceiverInterface 1

/MT_BatchProcess/BatchProcess[count(LineType3 >0 ]  AND /MT_BatchProcess/BatchProcess[count(LineType4 >0 ] EX   ----> ReceiverInterface 2

 

Somehow, this condition is not working in my case. Could someone help me find out what is that i am missing in these conditions.

 

 

Many thanks,

Sherin Jose


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>