Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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.

 

Labels (2)
1 Solution

Accepted Solutions
karthikj18
Contributor III
Contributor III

"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

2 Replies
karthikj18
Contributor III
Contributor III

"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.

Anonymous
Not applicable
Author

Thanks!!! @karthikj18