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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Go to next iteration if a component fail

Hello everyone,

 

My job loops through several different files and send them with a tFTPPut : 

 

tFixedFlowInput ===(Main)==> tFlowToIterate ===(Iterate)==> tJava ===(OnComponentOk)==> tFtpConnection ===(OncomponentError)==>tWarn

If the connection is successful the job sends the file.

 

The job stops if there is any error after the tJava and I want it to just go to the next iteration and send the next file whether the error is on the tFtpConnection or any other component after the tjava.

 

 

Labels (3)
3 Replies
Anonymous
Not applicable
Author

I added a tJavaFlex with a try and catch error and I have all my iterations.

but now I just need to know how to trigger my tLogCatcher when the exception is caught by my tJavaFlex.

Anonymous
Not applicable
Author

Nice question,

 

probably you need to capture the exception then use (trigger > if) for evaluation.

 

I'll stay here waiting for a better solution

Anonymous
Not applicable
Author

First of all thank you for your answer.

 

That's what I thought of but I already have tWarns linked to other components with an OncomponentError that I would like to have in my logs. Catching the exception just restarts the loop and go to the next iteration without going to the tWarn and the exception it self isn't always that clear.