Difference between "Die On Error" on component level and separate "TDie" component.

Five Stars

Difference between "Die On Error" on component level and separate "TDie" component.

Hi,

 

Can anyone give me difference between "Die On Error" on the component level and separate "tdie" component.

What is the use of both and how to use these in the jobs.

 


Accepted Solutions
Seven Stars

Re: Difference between "Die On Error" on component level and separate "TDie" component.

"Die On Error" option terminates the job in case of any exception happens at the component level. 

tDie component throws an error and kills the job when it is triggered.

Difference when compared to "Die On Error" is, you can have customized error message and error code to have process specific technical error codes and descriptions along with job termination.

 

If "Die on error" is not enabled, job throws warning and moves on to the next trigger task with in job. You can enable this option only if you want to purposely terminate the job if any exception thrown at component level.

 

Use tDie to terminate the job at any level (job or subjob) with customized error code and description captured at tLogCatcher component.  tDie is more on your business technical requirement termination conditions.

View solution in original post


All Replies
Seven Stars

Re: Difference between "Die On Error" on component level and separate "TDie" component.

"Die On Error" option terminates the job in case of any exception happens at the component level. 

tDie component throws an error and kills the job when it is triggered.

Difference when compared to "Die On Error" is, you can have customized error message and error code to have process specific technical error codes and descriptions along with job termination.

 

If "Die on error" is not enabled, job throws warning and moves on to the next trigger task with in job. You can enable this option only if you want to purposely terminate the job if any exception thrown at component level.

 

Use tDie to terminate the job at any level (job or subjob) with customized error code and description captured at tLogCatcher component.  tDie is more on your business technical requirement termination conditions.

View solution in original post

Five Stars

Re: Difference between "Die On Error" on component level and separate "TDie" component.

Thanks!!! @karthikj18

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now