Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Our requirement is when Talend job successfully complete without any error,Then Talend graph should return 1 so this number can be accepted by another script and can perform other activity.
How to achieve this requirement in Talend. Please assist.
Regards,
Vivek
There is only one graph with 4-5 component if any component is throwing exception then graph should return 0 otherwise 1.
Hi Vivek,
We are helpless unless you are ready to provide more information about your job flow. Could you please provide your current job flow, the input data and the expected output data and the expected return value details? Also please advise how you are planning to schedule it and what are you trying to say when you are mentioning "Talend graph"? Is it the flow of the job or are you mentioning about visual graphs?
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 🙂
@vivek_u wrote:
There is only one graph with 4-5 component if any component is throwing exception then graph should return 0 otherwise 1.
Hi,
try to think different
by default (and always) - each program which finished successfully return 0, and bash, talend, powershell and etc can manage this values
if job finished without error - it automatically returns 0
if you need return any other code - use tDie with preferred code (it could be more than 1)