Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone.
We use tLogCatcher to handle the error and use tFileList to get a list of EXCEL files and tLoop to process files one by one. If one file fails, will the job not stop and continue to process the next files?
Thanks in advance.
Ryu
Hi monica46cole
Thanks for your answer.
You say: "configure the tLogCatcher component to handle the error and move on to the next iteration. You can set the error handling strategy to log the error and proceed with the next file in the loop."
But I can't find the setting in the tLogCatcher component to handle the error and move on to the next iteration. Would you please show me how to do it by giving the visual representation?
Ryu
@laughsmile Please SET ErrorMode=0
Hello,
To continue the iteration even if there is an error while processing a file you can this piece of code in tJavaFlex as below :
We see that the iteration continued well even if an error was encountered on the first Excel file.
Best Regards,