cancel
Showing results for 
Search instead for 
Did you mean: 

Reading a property in Content Filter

varunvichare
Explorer
0 Kudos
123

Hello Experts,

I am trying to read a property in Content Filter expression of SAP CPI. Mentioned below is the nodelist Xpath expression. But I am getting error at this expression. Could you please assist to correct this nodelist expression.

/OnboardingCandidateInfo/OnboardingCandidateInfo[(fName/text() =function:simple('${property.fName}'))]

 

Error at Content Filter

java.lang.NullPointerException: Cannot invoke "net.sf.saxon.expr.oper.OperandArray.getNumberOfOperands()" because the return value of "net.sf.saxon.expr.FunctionCall.getOperanda()" is null

 

Regards,

Varun Vichare.

View Entire Topic
varunvichare
Explorer
0 Kudos

Hello,

This is the XPath expression to read property in Content Filter

/OnboardingCandidateInfo/OnboardingCandidateInfo[(contains($fName,fName))]

Here we access the property fName with a $ preceding it.

Regards,

Varun Vichare.