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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

expression builder if, else

Hello,
I've got aquestion: Could I use in expression builder in tMap string value? If i write this (and I had verified that the row1.MessageName is really value ServiceModified), output from tMap is nothing..
row1.MessageName == "ServiceModified" ? row1.message : "nothing"
thanks for your answer
Karl
Labels (2)
13 Replies
Anonymous
Not applicable

I'm sorry, but i think I'm little blocked. I want to send field "message" by filtering field "MessageName" to various queues as you can see in my case. I want to use filter in tMap, I had defined variables, but I can't get your point 0683p000009MPcz.png
Anonymous
Not applicable

currently i do it with tFilterRow. I cannot find a way to do this with condition in expression builder in tMap. Thanks all.
Anonymous
Not applicable

ok,
do it step by step 0683p000009MACn.png
first we got some different value "in" and compare with context.messageName.
In the output flow , first we catch the flow where equals context.messageName. (tlogrow 1)
second we reject those who don't match ... (reject context message)
But we also can add another filter to those output flow (tlogrow 2 3)
and so on 0683p000009MACn.png
Note difference between reject of input flow and reject of the filters designed in the output schema.
hope it helps
regards
laurent
Anonymous
Not applicable

Thanks a lot!!!!