<?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: Retrieve job property in Job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358072#M123230</link>
    <description>&lt;P&gt;You can open a feature request on Talend &lt;A href="https://jira.talendforge.org/secure/Dashboard.jspa" alt="https://jira.talendforge.org/secure/Dashboard.jspa" target="_blank"&gt;Bugtracker&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 08:23:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-09-05T08:23:29Z</dc:date>
    <item>
      <title>Retrieve job property in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358065#M123223</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to retrieve the job-status value in a job ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000nSdaKAAS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134261i4D1759B0EFF25971/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000nSdaKAAS.png" alt="0695b00000nSdaKAAS.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Based on the status I would like to change job context variables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how do I retrieve 'development', 'testing' or 'production'  from the job properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacco&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358065#M123223</guid>
      <dc:creator>Jacco_De_Zwart</dc:creator>
      <dc:date>2024-11-15T21:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve job property in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358066#M123224</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;There is no global variable available for job-status, the status value is stored in jobName_0.01.properties file, eg:&lt;/P&gt;&lt;P&gt;&amp;lt;TalendProperties:Property xmi:id="_63fzoDUMEe2Vl5N2pzuuUw" id="_63NfwDUMEe2Vl5N2pzuuUw" label="test1234" version="0.1" statusCode="DEV"&amp;nbsp;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The jobName_0.01.properties file is located &amp;lt;studio installation directory&amp;gt;/workspace/project_name_folder/process/. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have access to the source file of job, using a tFileInputXML component to read  jobName_0.01.properties file and retrieve the status value in a job. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000nSdnYAAS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130169iCFE93D04A7004B6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000nSdnYAAS.png" alt="0695b00000nSdnYAAS.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 08:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358066#M123224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-01T08:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve job property in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358067#M123225</link>
      <description>&lt;P&gt;Thanks Shong for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this hold up if I move the job from develop to production and deploy it to the TMC ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jacco&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 11:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358067#M123225</guid>
      <dc:creator>Jacco_De_Zwart</dc:creator>
      <dc:date>2023-09-01T11:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve job property in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358068#M123226</link>
      <description>&lt;P&gt;If the job is deployed to TMC and executed in Remote Engine,  the jobName_0.01.properties file should be moved to same machine where Remote Engine is installed, so that the job can access the jobName_0.01.properties file. &lt;/P&gt;&lt;P&gt;the job status is defined before the job execution, it isn't a dynamic value changed at run time. Consider defining&amp;nbsp;the job status in the beginning of job so that it can be easily accessed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 02:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358068#M123226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-04T02:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve job property in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358069#M123227</link>
      <description>&lt;P&gt;Shong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I I'm developing a (new) job, the status will be set to development. When I'm albe to read that status, i can use this to retrieve context variables from the database using tContextLoad component (with a tDBInput and tMap component first).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just before I deploy the job to the TMC when I'm done developing and test, I change the status to production. Then, again the tContextLoad component will be fed the context variable for production, based on the status of the job using tDBInput and tMap in front of the tContextLoad component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 06:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358069#M123227</guid>
      <dc:creator>Jacco_De_Zwart</dc:creator>
      <dc:date>2023-09-04T06:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve job property in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358070#M123228</link>
      <description>&lt;P&gt;@Jacco de Zwart​&amp;nbsp;I see, but there is no a global variable for job status available for now. &lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 06:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358070#M123228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-05T06:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve job property in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358071#M123229</link>
      <description>&lt;P&gt;Where can I post a suggestion to make these properties as a global variable ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 08:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358071#M123229</guid>
      <dc:creator>Jacco_De_Zwart</dc:creator>
      <dc:date>2023-09-05T08:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve job property in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358072#M123230</link>
      <description>&lt;P&gt;You can open a feature request on Talend &lt;A href="https://jira.talendforge.org/secure/Dashboard.jspa" alt="https://jira.talendforge.org/secure/Dashboard.jspa" target="_blank"&gt;Bugtracker&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 08:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Retrieve-job-property-in-Job/m-p/2358072#M123230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-05T08:23:29Z</dc:date>
    </item>
  </channel>
</rss>

