Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
GRomain
Contributor III
Contributor III

In clause cMessageFilter

Hi everyone,

I'm trying to put an In clause in a cMessageFilter without success.

I'm working with the XPath language and i got this for the moment :

"//loopName[element='ABC' or element='DEF']"

My problem is that i need to put this values in a context variable to allow evolution of the filter without modifying the route.

I tried

"//loopName[element in('ABC','DEF')]" but of course it doesn't work.

Anyone knows how to do it?

Labels (3)
2 Replies
pakapi_
Creator
Creator

Hi GRomain,

 

I'm not familiar with this component, and I'm just guessing, but have you tried something like "//loopName[element =('ABC','DEF')]"  ?

GRomain
Contributor III
Contributor III
Author

Hi Pakapi,

Thanks for the idea, i didn't thought of that!

But it's not working.