Error handling in a tMap component

One Star

Error handling in a tMap component

Hi there
i got a tmap in a job, and into this tmap i realize a transformation of a data with the help of a Java method i created.
This java method can throw an exception, because of a bad format, but i want my job to continue (not to be stopped with this error), and i need an alert (email for instance) telling me the job ran but with an error
I dont know how to do that because the tMap does not have a "on component error" output
Can you tell me how to deal with this problem ?
One Star

Re: Error handling in a tMap component

Hi
Can you tell us the error information or upload a screenshot about that.In fact I have not gotten any usefull information from your description.
You'd better click 'cancel'when you get that exception and have a look at the exception information.
One Star

Re: Error handling in a tMap component

yes i am 100 percent agree with your statement and i like it so much and there are so useful information for me
Seventeen Stars

Re: Error handling in a tMap component

hi,
Initialize a "flag" that 'll take a 'false ' value if an error occur!
test the value of your flag at the end!
laurent