<?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: Issue with passing variable with context in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-passing-variable-with-context/m-p/2372602#M135424</link>
    <description>Context variable are Strings. So they are not interpreted as java expression and are not evaluated.</description>
    <pubDate>Tue, 08 Dec 2009 09:55:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-12-08T09:55:29Z</dc:date>
    <item>
      <title>Issue with passing variable with context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-passing-variable-with-context/m-p/2372601#M135423</link>
      <description>Hi,&lt;BR /&gt;I am trying to set a date stamp - 20091208 to use in may jobs to call my daily files.&lt;BR /&gt;I have set a context with the value equal to:&lt;BR /&gt;TalendDate.formatDate("yyyy",TalendDate.getCurrentDate()) + TalendDate.formatDate("MM",TalendDate.getCurrentDate())+TalendDate.formatDate("dd",TalendDate.getCurrentDate()) &lt;BR /&gt;I call my variable using the context call: today_YYYYMMDD&lt;BR /&gt;Unfortunately when I run my job, the variable is returing the actual value (formula) TalendDate.formatDate("yyyy",TalendDate.getCurrentDate()) + TalendDate.formatDate("MM",TalendDate.getCurrentDate())+TalendDate.formatDate("dd",TalendDate.getCurrentDate()) &lt;BR /&gt;and not the anticipated 20091208&lt;BR /&gt;Your help is appreciated&lt;BR /&gt;Regards&lt;BR /&gt;Yann</description>
      <pubDate>Sat, 16 Nov 2024 13:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-passing-variable-with-context/m-p/2372601#M135423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with passing variable with context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-passing-variable-with-context/m-p/2372602#M135424</link>
      <description>Context variable are Strings. So they are not interpreted as java expression and are not evaluated.</description>
      <pubDate>Tue, 08 Dec 2009 09:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-passing-variable-with-context/m-p/2372602#M135424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-08T09:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with passing variable with context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-passing-variable-with-context/m-p/2372603#M135425</link>
      <description>We ran into the same issue. Use an input sql, inputFile, or tFixedFlowInput to write to a tContextLoad component which then triggers the first subjob. This will enable the java expression to be interpreted and populate your context variable each time it runs.</description>
      <pubDate>Tue, 08 Dec 2009 15:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-passing-variable-with-context/m-p/2372603#M135425</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-12-08T15:56:43Z</dc:date>
    </item>
  </channel>
</rss>

