<?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 Triggering a Job specifying specific context variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Triggering-a-Job-specifying-specific-context-variables/m-p/2305838#M77454</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;let's suppose to have a quite complex parametric Job, for example one loading and aggregating the same kind of data, configurable for what is related to "which source" (of the same type, i.e. just different servers) and "which aggregation" (i.e. minute, hour, day... that is just a parameter in an SQL query).&lt;BR /&gt;&lt;BR /&gt;You would like to trigger it hourly, daily... letting it which server use and which aggregation perform, differently for each trigger type, but you would not to deploy the same job in different tasks, to be able to set source/aggregation differently for each task, and triggering each task with it own trigger.&lt;BR /&gt;&lt;BR /&gt;Should be useful, and compliant with the philosophy of Talend, to be able to specify a 'set of context values' for each trigger created?&lt;BR /&gt;In this way, you would be able to deploy a fully configurable Job just in one task instance, create on them multiple triggers and deeply specify which context values have to be applied for each trigger.&lt;BR /&gt;&lt;BR /&gt;Does it worth a new Feature Request?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Lorenzo&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2016 09:13:32 GMT</pubDate>
    <dc:creator>Lorenzo5</dc:creator>
    <dc:date>2016-12-22T09:13:32Z</dc:date>
    <item>
      <title>Triggering a Job specifying specific context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Triggering-a-Job-specifying-specific-context-variables/m-p/2305838#M77454</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;let's suppose to have a quite complex parametric Job, for example one loading and aggregating the same kind of data, configurable for what is related to "which source" (of the same type, i.e. just different servers) and "which aggregation" (i.e. minute, hour, day... that is just a parameter in an SQL query).&lt;BR /&gt;&lt;BR /&gt;You would like to trigger it hourly, daily... letting it which server use and which aggregation perform, differently for each trigger type, but you would not to deploy the same job in different tasks, to be able to set source/aggregation differently for each task, and triggering each task with it own trigger.&lt;BR /&gt;&lt;BR /&gt;Should be useful, and compliant with the philosophy of Talend, to be able to specify a 'set of context values' for each trigger created?&lt;BR /&gt;In this way, you would be able to deploy a fully configurable Job just in one task instance, create on them multiple triggers and deeply specify which context values have to be applied for each trigger.&lt;BR /&gt;&lt;BR /&gt;Does it worth a new Feature Request?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Lorenzo&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 09:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Triggering-a-Job-specifying-specific-context-variables/m-p/2305838#M77454</guid>
      <dc:creator>Lorenzo5</dc:creator>
      <dc:date>2016-12-22T09:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering a Job specifying specific context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Triggering-a-Job-specifying-specific-context-variables/m-p/2305839#M77455</link>
      <description>Hi&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Lorenzo,&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Your job requirement is not clear for us. Do you want to trigger your job based on "Context" value?&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;Could you please elaborate your case with an example?
&lt;BR /&gt;Bets regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 27 Dec 2016 07:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Triggering-a-Job-specifying-specific-context-variables/m-p/2305839#M77455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-27T07:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering a Job specifying specific context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Triggering-a-Job-specifying-specific-context-variables/m-p/2305840#M77456</link>
      <description>Hi Sabrina,&amp;nbsp; 
&lt;BR /&gt;I would trigger my job using a specific context for each trigger created. It could be very useful to setup the job depending on which trigger will run it. 
&lt;BR /&gt;Simply suppose to have a complex job that implements a very common task (for example calculating data average, xx-th percentile and some other figures), and you have to trigger it hourly, daily, weekly, monthly. 
&lt;BR /&gt;Suppose that your job is quite complex, and you would not split it in different jobs, because managing some calculations in one central place (a job) is your choice. Then, you have designed a job with some configuration parameters (contexts) that drive the job execution. 
&lt;BR /&gt;Suppose, then, you would calculate 99th percentile for the hourly and daily execution (two triggers involved), clean some data (or load some data) each day (the daily trigger involved), write a report file each week... and so on. The job is designed to do all these roles, because they are all related to the topic of the job. 
&lt;BR /&gt;For this reason, you would like that any trigger is able to pass to the job a different set of context values, otherwise you should put inside the job some "if" ("if it is the first hour of the day then clean something" ...) and it is bad, of course. 
&lt;BR /&gt; 
&lt;BR /&gt;I know probably I can design my jobs in different manner, avoiding they perform complex and multiple computations/tasks, maybe designing simple ones, with dependencies (using "Execution Plan" or simply "tRunJob" to make dependencies and subsequential executions), but, I think, triggers could bring to the Job also some informations (i.e.: a set of context value). Could it add to much "degrees of freedom" to Talend?&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you, Lorenzo</description>
      <pubDate>Mon, 02 Jan 2017 15:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Triggering-a-Job-specifying-specific-context-variables/m-p/2305840#M77456</guid>
      <dc:creator>Lorenzo5</dc:creator>
      <dc:date>2017-01-02T15:19:17Z</dc:date>
    </item>
  </channel>
</rss>

