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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
DrGenious
Creator
Creator

Logs

Hey,

I create the following pipeline 

Parent: tWaitForFile--iterate--trunJob

Child:0683p000009M8we.png

I want after tSchemaCompliance to send the Logs to a file if it is Rejected : FileName, CurrentTime,"Failed" errorCode,errorMessage

and if it is Succeed: FileName,CurentTime,"Success"

Can anyone tell my what component to use in order to achieve that (thashoutput/input?/ tassertcatcher?) ? And what I have to write inside tJavarow to gain these informations like FileName, CurrentTime,"Failed" errorCode,errorMessage?

 

Thanks 0683p000009MACJ.png

Labels (2)
2 Replies
akumar2301
Specialist II
Specialist II

schemacheck is row by row validation .

Why donot you want the detail of row which has failed or passed ?

FileName and current timestamp , you can add by using tJavaRow/Tmap for each sucess and reject record.

if you want to add in same file success and Reject , you can use tHashInput/output.

DrGenious
Creator
Creator
Author

@uganesh 

 

I want from the schema compliance TWO rows. One for success files in order to store the logs inside a csv and the OTHER for rejected files with log's too. I want if schema compliance find something rejected to stop the job and go back to the parent job.