<?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 Dynamic context variable when promoting jobs in TIC in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312025#M83009</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I need help on a solution regarding dynamic context variable when promoting jobs from one environment to another in the cloud (TIC).&amp;nbsp; There is a functionality in TAC but according to Talend Support there is no functionality in TIC currently.&lt;/P&gt; 
&lt;P&gt;Is there a java code that I could use&amp;nbsp;and&amp;nbsp;plug-in to tjava that would:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;check the TIC environment (for example: test environment, promotion pipeline dev -&amp;gt; test)&lt;/LI&gt; 
 &lt;LI&gt;then based on the TIC environment, use the proper context variable set for that environment&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;Greatly appreciate any help on this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:50:35 GMT</pubDate>
    <dc:creator>rgranado</dc:creator>
    <dc:date>2024-11-16T08:50:35Z</dc:date>
    <item>
      <title>Dynamic context variable when promoting jobs in TIC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312025#M83009</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I need help on a solution regarding dynamic context variable when promoting jobs from one environment to another in the cloud (TIC).&amp;nbsp; There is a functionality in TAC but according to Talend Support there is no functionality in TIC currently.&lt;/P&gt; 
&lt;P&gt;Is there a java code that I could use&amp;nbsp;and&amp;nbsp;plug-in to tjava that would:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;check the TIC environment (for example: test environment, promotion pipeline dev -&amp;gt; test)&lt;/LI&gt; 
 &lt;LI&gt;then based on the TIC environment, use the proper context variable set for that environment&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;Greatly appreciate any help on this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312025#M83009</guid>
      <dc:creator>rgranado</dc:creator>
      <dc:date>2024-11-16T08:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic context variable when promoting jobs in TIC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312026#M83010</link>
      <description>&lt;P&gt;I haven't tried this, so this is suggestion I *think* might work. Have you every used the implicit context load? If not, check it out here (&lt;A href="https://help.talend.com/reader/mhqCkTBnin7IXmJBUJoocQ/0lPtF5eayDI~33QdLfRY~A" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/mhqCkTBnin7IXmJBUJoocQ/0lPtF5eayDI~33QdLfRY~A&lt;/A&gt;).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I currently use this in a way that is different from a lot people. The context load parameters (for both pointing to a file&amp;nbsp;or a database) are able to be used to call methods. Those that are expecting a String can actually run a routine which returns a String. As such, you can return a configuration which will dynamically point your job to a file or a database table. You can make use of simple Java to return operating system environment variables to identify which environment you are in, then from that return values that point you to a file with contexts in or a database with contexts in.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;As I said, I have not tried this in TIC, but it works in both the open source edition and the enterprise edition. It is actually a pretty powerful way of dealing with contexts.&lt;BR /&gt;&lt;BR /&gt;Give it a try and let me know if it works&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 22:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312026#M83010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-18T22:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic context variable when promoting jobs in TIC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312027#M83011</link>
      <description>&lt;P&gt;Thank&amp;nbsp; you.&amp;nbsp; I will try it out.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 17:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312027#M83011</guid>
      <dc:creator>rgranado</dc:creator>
      <dc:date>2018-01-19T17:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic context variable when promoting jobs in TIC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312028#M83012</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp; This has worked for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 17:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312028#M83012</guid>
      <dc:creator>rgranado</dc:creator>
      <dc:date>2018-01-23T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic context variable when promoting jobs in TIC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312029#M83013</link>
      <description>&lt;P&gt;Pleased to hear it. Maybe support need to be told that it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 21:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312029#M83013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-23T21:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic context variable when promoting jobs in TIC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312030#M83014</link>
      <description>I just told them.&lt;BR /&gt;&lt;BR /&gt;It seems like TIC is missing quite a lot of functionalities. I put the solution you suggested in a Joblet; set it as "Startable"; Successfully run on my local machine but once I ran it on TIC, the "Startable" functionality does not work.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jan 2018 23:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-context-variable-when-promoting-jobs-in-TIC/m-p/2312030#M83014</guid>
      <dc:creator>rgranado</dc:creator>
      <dc:date>2018-01-30T23:00:55Z</dc:date>
    </item>
  </channel>
</rss>

