Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Get job status in Talend Open Studio for data integration

Hello,

I have simple jobs where I want to retrieve their execution status after finishing the run in a tDBoutput. 

Lets take for example a transfer of data from .csv to .txt once finished I want to retrieve the job status and its description. It means if data transfer is Ok I have status: "OK" and description: "Data transfert done successfully", else I want to have status: "Failure" and description: " java exception or a description of the error". 

 

For this I tried:

Tlogcatcher, the problem that it does not generate the status and dont generate anything when the job runs with success.  

Tassertcatcher, the problem is that it needs condition in tassert to generate a status and description, but I need the decription to be specific. 

Am I missing something?

 

Will be very grateful for your help. 

Thank you very much 

Labels (3)
1 Reply
manodwhb
Champion II

Use twarn component to print from tdboutput and print the message using trigger on component OK and on component error. Which message s can be captured using tlogcatcher.