Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Karuetl
Creator II
Creator II

How to kill the job if one component failed within the tsleep time

I have a job as below , if the job runs beyond 1 hr it kills the job which is fine .. But here the tjavaflex  has failed but the job continues until the tsleep time . 

 

I want to kill the entire job itself 

 

tparallize-->tfiledelimited-->tjavaflex-->tjdbc

    I

    I

   v

tsleep ( say its 1hr)

Labels (3)
3 Replies
Anonymous
Not applicable

Hi,

 

   In the tJavaflex, you need to throw a java error. Then add a tDie to this subjob, which will capture this error and either you can kill the job or convert to other error categories (like Warning, Info etc.) based on your use case.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

Karuetl
Creator II
Creator II
Author

It's not only about tJavaflex but any component which fails in a group of
tparallize path ...
The other path which is sleep runs for 1 hr , so if any component fails it
should kill the job .. as of now the job fails and goes on running until 1
hr sleep time is done

Anonymous
Not applicable

Hi,

 

   Ideally tDie should capture the error. If you could share the job details, then we may be able to help further.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved