You are not logged in.
I have the following chain of components :
tOracleInput + tFlowToIterate + tFTPConnexion + tFTPFileList + tFTPGet
It allows me to download an FTP server files locally.
This string works very well.
My only problem is that, if a parameter is a problem for tFTPFileList (for example, if I ask to download to a local directory that does not exist), the entire chain stops!
I thought I could handle the exception using the OnComponentError, to move to the next download.
But it does not work. Once a plant download, all the chain stops.
Any idea to manage this kind of exception ?
Thanks for your response.
I am using a TIS 4.2.3
For the local directory, I know this issue, but... what happens if the user makes a mistake on the path a the remote directory ? This is precisely the error I have... I thought that I could manage by using the onCOmponentErrror, the job stops
According to your description, you need to redesign the job, you want the job continue to work even though there is an error appears. The job design looks like:
tFTPConnexion + tFTPFileList + tFTPGet
on tRunJob, call the child job, uncheck the box 'die on error', pass value to child job if needed, see the following link to know how to pass a value from parent job to child job.