Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
BeginnerNeedsHelpPlease

simple case with a tMap and a catch output reject = true : it doesn't work . Why??

hello

I have this very simple case.

0695b00000H8KWBAA3.png 

I want in my output files all the results when I set "catch output reject" = true in the tMap settings

here is my tmap setting:

0695b00000H8KRwAAN.pngMy understanding is that all results for which ID= ID1 are not shown (because I have catch output reject = true)

however in my output files, i only see results with ID1.

I have the same results whatever I do (true or false for catch output reject)

what is wrong?

thank you

Labels (2)
5 Replies
gjeremy1617088143

Hi @adi nul​ (great name by the way 🙂 )

you have to make two outputs on your tmap with the same schema

then

on the first one you put the filter condition

on the second one you set Catch output reject to true.

 

You will have two ouptut row one for the good one for the reject.

here is a good link about that :

http://umashanthan.blogspot.com/2015/11/what-difference-between-tmap-catch.html

Send me love and kudos

BeginnerNeedsHelpPlease
Author

So i believe my case was too simple.

 

I always to have an output which gives me the results for the correct filter.

Then I can have results for the cath output reject = true.

BeginnerNeedsHelpPlease
Author

I observed that if i want to do :

catch look up inner joint reject = true

i don't need to have an output with " catch look up inner joint reject = false"

 

I tested with 2 input files and one output fileand results were OK according to my settings

gjeremy1617088143

catch output reject = true , catch the reject of the filtered output

catch inner join reject = true catch the reject of the inner join input

gjeremy1617088143

Hi @adi nul​ ,

does one of my answer help you to solve your issue? If yes please select it as best answer.

Send me Love and kudos