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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Auto restart launch recovery

Hi Talend Experts,

I have a need to restart launch recovery automatically. 

This is what I did. 

1. I added error recovery of the subjobs. 

2. I can now launch them from the recovery section at TAC. 

 

 

For manually clicking it works fine. However, I want to make it automated. So if there is an error, it should skip that and go to the next one. After that, it should retry to run again after a while and in that run, it should only run that part that failed. Is that possible?

 

 

0683p000009Lw91.png

 

0683p000009Lw71.png

Labels (3)
1 Solution

Accepted Solutions
Bluemoon
Creator
Creator

If you usecase is only file you handle that using tfileexist it will check for file b4 getting data from file. Then use if to skip that file.

View solution in original post

5 Replies
Bluemoon
Creator
Creator

If you usecase is only file you handle that using tfileexist it will check for file b4 getting data from file. Then use if to skip that file.
Anonymous
Not applicable
Author

Thank you. Following your suggestion, I have created this and although it works, it is not robust as it will not work for other types of files or jobs. 

Is there a better approach? Thank you. 

 

0683p000009LviV.png

 

Bluemoon
Creator
Creator

If you think my solution is working for you please give kudos or accept it as solution. Thanks.

Bluemoon
Creator
Creator

Just check if you can only use tparallelize -> twaitforfile -> tfileinput -> tfileoutput
as per my knowledge if you select exit loop. It will check for file if exist else wait until file comes to that folder.

My recommend is give some notification if file does't exist instead of waiting for file.
Anonymous
Not applicable
Author

Thanks. That worked too. 

I don't actually need this for a full solution. This was only for a proof of concept - the main work will involve database and hive tables. Thank you