Hello,
I'm using a Job that get some filenames with step "Add filenames to result" and then transform and load files in a database with a Transformation.
I would like, when the transformation end, for each file fill a table in the database with information (filename, status OK/KO) from the result of the transformation.
My problem is that the Transformation is handling all the file in once, and so I only know if all files have been processed successfully or if at least one as failed.
This should be a common case and I should be missing something to handle the files on by one. What is the best way to achieve that ?
Here is rougly what I'm trying to do (of course this does not work because it only get the transition OK/KO of the first tranformation with the result of the loading of all files).
Spoon - Job 1.jpg
Thanks for your help !
Florent
I'm using a Job that get some filenames with step "Add filenames to result" and then transform and load files in a database with a Transformation.
I would like, when the transformation end, for each file fill a table in the database with information (filename, status OK/KO) from the result of the transformation.
My problem is that the Transformation is handling all the file in once, and so I only know if all files have been processed successfully or if at least one as failed.
This should be a common case and I should be missing something to handle the files on by one. What is the best way to achieve that ?
Here is rougly what I'm trying to do (of course this does not work because it only get the transition OK/KO of the first tranformation with the result of the loading of all files).
Spoon - Job 1.jpg
Thanks for your help !
Florent