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

To check the existence of node "EX operator not working"

$
0
0

Hello All,

 

My interface decides the receiver based on the existence of node. If particular node exists then only file should be send to receiver.

 

I used the query in the expression editor:

 

(Xpath./p1:ArticleMasterSAP/CDS_DW_Variant_Stage EX ) OR (Xpath./p1:ArticleMasterSAP/CDS_Prepack_Stage EX ) . It is not giving right results.

Even though the node is present in the payload, within trace it says:

 

 

     Extractor: XP Xpath./p1:ArticleMasterSAP/CDS_DW_Variant_Stage</Trace>

 

 

   < Trace level="2" type="T">......extracting values found: 0</Trace>

 

 

   <Trace level="2" type="T">......extracting values found: 0</Trace>

 

 

   <Trace level="2" type="T">......extracting (old) for Extractor: XP Xpath./p1:ArticleMasterSAP/CDS_Prepack_Stage</Trace>

 

 

    <Trace level="2" type="T">......extracting values found: 0</Trace>

 

 

    <Trace level="2" type="T">......extracting values found: 0</Trace>

   Can you please guide. I tried multiple variations but not giving results.

    I have already tried the below variations, none of them are working
     1) (Xpath./p1:ArticleMasterSAP/[CDS_DW_Variant_Stage]  EX )

     2)  (exists(Xpath./p1:ArticleMasterSAP/CDS_DW_Variant_Stage) = true)
    
     3) (Xpath./p1:ArticleMasterSAP/[not(CDS_DW_Variant_Stage[not(Matnr)])] EX ) - Double negation
  
     4) Tried with count function as well



   Thanks
   Shikha

 


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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