Hi, I have a problem with the workflow attached. I have to read several xml files, sometime one o more file don’t exist, the node failed e the loop ends. I would like to ingore those files, ma I don’t know how to do. I think thant i have to use try and catch, but i need an help. Someone can fix my project? thank a lot and sorry for my english loop_xml_failed.zip (12.6 KB)
Hi there @nbindini,
welcome to KNIME Community!
If I got you right that means your XML Reader reports error on configuration and that can not be caught with Try/Catch sequence. Check this topic how to deal with it.
Br,
Ivan
Hi, thank a lot for the help. I’m sorry but i didn’t solve. I don’t know why, but URL to file path node file ever fails, I post the screenshot of the project.
I try to enter in the loop with adress files writing in different ways but i have ever the same result.
Hi @nbindini,
so you are reading from URLs. Wasn’t aware of that one. Then it makes things a bit easier but you need to be careful about URL format otherwise XML Reader will think of it as a local file and fail during configuration which isn’t caught by Try/Catch sequence.
Here is workflow on KNIME Hub which you can download and modify according to your needs.
Hope this helps!
Br,
Ivan
Wonderful,
you solved my problem,
thank you very much Ivan!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.