Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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.
Nice question,
probably you need to capture the exception then use (trigger > if) for evaluation.
I'll stay here waiting for a better solution
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.