<?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: Best Practice for component/subjob exclusion based on context? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256568#M38912</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another suggestion might be to use the Dynamic Job Invocation in a tRunJob component that gets set at runtime to invoke, say, the DEV version of the cleanup you mention (that doesn't do anything).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would however suggest caution when using any approach like this as you are really not going to be able to properly test your integrations for how they will behave in a production environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 21 Mar 2020 15:27:22 GMT</pubDate>
    <dc:creator>David_Beaty</dc:creator>
    <dc:date>2020-03-21T15:27:22Z</dc:date>
    <item>
      <title>Best Practice for component/subjob exclusion based on context?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256566#M38910</link>
      <description>&lt;P&gt;Hello Talend Community,&lt;/P&gt;&lt;P&gt;i am wondering if there are any best practices out there and what is your experience regarding "context aware job execution"?&lt;BR /&gt;&lt;BR /&gt;What i mean by this:&lt;/P&gt;&lt;P&gt;For example we are using Talend for Data Integration to load from some sources for which i cannot easily trigger output for DEV/QA Environemnts in order to develop and test Talend Jobs.&lt;BR /&gt;&lt;BR /&gt;This causes me to deactivate certain aspects of the job while developing and runing the job in the Designer console (e.g. cleanup tasks like "delete source files when job execution was successful" ) - or i need to fake the source data into the DEV source if i want to check the built and exported job for DEV context. This becomes quite clunky.&lt;BR /&gt;&lt;BR /&gt;What would be really handy to do:&lt;BR /&gt;Omit certain components or entire subjobs based on the context a job is executed in.&lt;BR /&gt;I found so far that this will not work with the standard "Activation/Deactivation" functionality in the designer - but maybe you have any ideas how to achive this on runtime?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanls a lot&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Clemens&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 12:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256566#M38910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-19T12:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Best Practice for component/subjob exclusion based on context?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256567#M38911</link>
      <description>&lt;P&gt;You can easily create different routes through a job using the RunIf links and context variables. Instead of linking subjobs with OnSubJobOk links, maybe link the subjob to a tJava (dummy) component, then link the tJava to the next subjob with RunIF links.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 13:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256567#M38911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-19T13:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Best Practice for component/subjob exclusion based on context?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256568#M38912</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another suggestion might be to use the Dynamic Job Invocation in a tRunJob component that gets set at runtime to invoke, say, the DEV version of the cleanup you mention (that doesn't do anything).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would however suggest caution when using any approach like this as you are really not going to be able to properly test your integrations for how they will behave in a production environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 15:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256568#M38912</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2020-03-21T15:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Best Practice for component/subjob exclusion based on context?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256569#M38913</link>
      <description>&lt;P&gt;Thanks to both of you for your suggestions.&lt;/P&gt;&lt;P&gt;I will take a shot on the "RunIf" solution. I guess that just means that each job / subjob should be designed in a way that the Tasks which are only supposed to run in some contexts (e.g. "Prod") are always at the end of a given route with a "RunIf" Statement leading into them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 07:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-Practice-for-component-subjob-exclusion-based-on-context/m-p/2256569#M38913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-23T07:49:59Z</dc:date>
    </item>
  </channel>
</rss>

