<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Return value from Talend Job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240369#M27883</link>
    <description>&lt;P&gt;We have only one main job where all&amp;nbsp;components are designed.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Feb 2019 12:49:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-05T12:49:16Z</dc:date>
    <item>
      <title>Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240362#M27876</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;How to achieve this requirement in Talend. Please assist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vivek&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 07:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240362#M27876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-04T07:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240363#M27877</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006358bAAA"&gt;@vivek_u&lt;/A&gt;&amp;nbsp;,if you want to return the values ,then you can use tJava component on success of the the job and print the value which wan to return.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 07:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240363#M27877</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-02-04T07:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240364#M27878</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where to put t java component and where to find event called '&lt;SPAN&gt;on success of the the job' Can you elaborate and show how to design that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Vivek&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 08:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240364#M27878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-04T08:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240365#M27879</link>
      <description>&lt;P&gt;I assume you run Talend through unix environment as exported job.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When calling the talend job&lt;/P&gt;
&lt;P&gt;./talendjob.sh&lt;/P&gt;
&lt;P&gt;result = $?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;result=&amp;nbsp;./talendjob.sh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now result would hold either 1 or 0 depending of the success of talendjob.sh&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 08:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240365#M27879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-04T08:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240366#M27880</link>
      <description>&lt;P&gt;Thanks Vignesh.&lt;/P&gt;&lt;P&gt;However we would like to know how to achieve this is in Talend job (related design and on which event) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 08:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240366#M27880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-04T08:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240367#M27881</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How are you planning to deploy and run the job in PROD? after development.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That plan is needed to get information of triggering another job on this jobs success or failure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are going to trigger another TalenD job then you can have job 1 and job 2 as sub jobs in job 3. with condition tigger "on&amp;nbsp; subjob OK" linked from job 1 to job 2. use tRunJob component to create subjobs in talend.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 09:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240367#M27881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-04T09:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240368#M27882</link>
      <description>&lt;P&gt;Are you looking for execution Plan on TAC ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/reader/GL_4g5KgOuy9xQdPC2EzSQ/y0Us7J_ukdgxhe9Jx_o_NQ&amp;nbsp;" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/GL_4g5KgOuy9xQdPC2EzSQ/y0Us7J_ukdgxhe9Jx_o_NQ&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 10:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240368#M27882</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-04T10:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240369#M27883</link>
      <description>&lt;P&gt;We have only one main job where all&amp;nbsp;components are designed.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 12:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240369#M27883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-05T12:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240370#M27884</link>
      <description>&lt;P&gt;This is not working... subjob ok is always executing only one condition even component thrown error as well&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 11:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240370#M27884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-11T11:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240371#M27885</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Did you print and verify the value which is getting returned from the job?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Based on the return value, if you want to trigger another job, you can also try Run if condition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Say, run Job B if return value is 1. Run Job C if return value is 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;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 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 12:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240371#M27885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-11T12:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240372#M27886</link>
      <description>&lt;P&gt;There is only one graph with 4-5 component if any component is throwing exception then graph should return 0 otherwise 1.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240372#M27886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-12T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240373#M27887</link>
      <description>&lt;P&gt;Hi Vivek,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;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?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;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 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240373#M27887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-12T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Return value from Talend Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240374#M27888</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/00539000006358bAAA"&gt;@vivek_u&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;There is only one graph with 4-5 component if any component is throwing exception then graph should return 0 otherwise 1.&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;try to think different&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;by default (and always) - each program which finished successfully return 0, and bash, talend, powershell and etc can manage this values&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;if job finished without error - it automatically returns&amp;nbsp;0&lt;/P&gt; 
&lt;P&gt;if you need return any other code - use tDie with preferred code (it could be more than 1)&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 00:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Return-value-from-Talend-Job/m-p/2240374#M27888</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-02-13T00:54:25Z</dc:date>
    </item>
  </channel>
</rss>

