<?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: Setting of Context Parameter from context file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Setting-of-Context-Parameter-from-context-file/m-p/2357378#M122697</link>
    <description>&lt;P&gt;Hi @Amanda Makore​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At first I would suspect there could be a typing difference between the file and the context variable name. But in that case, there should be an warning on the job log saying that 'Parameter "cleanFiles" is a new parameter of tContextLoad_1'. But instead, you're getting a Info stating that '&lt;B&gt;Parameter "cleanFiles" has not been set by tContextLoad_1' &lt;/B&gt;as if this row on the source file is being ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I suggest you check the tFileInputDelimited component. Is there any header, footer or limit set on it? This might cause some lines to be ignored. You could put a tLogRow in between tFileInputDelimited and tContextLoad components to check what the Job is reading from this file.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Aug 2023 17:53:08 GMT</pubDate>
    <dc:creator>anselmopeixoto</dc:creator>
    <dc:date>2023-08-24T17:53:08Z</dc:date>
    <item>
      <title>Setting of Context Parameter from context file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Setting-of-Context-Parameter-from-context-file/m-p/2357377#M122696</link>
      <description>&lt;P&gt;&lt;B&gt;Hi&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;I have created a Context File with the following values.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;cleanFiles=true&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;startDate=2012-03-01 00:00:00&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;endDate=2020-03-27 00:00:00&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Now I wanted to make use of one of these variables(cleanFiles) like this : &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000nRPtRAAW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134635i8E957DA46AAE2FF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000nRPtRAAW.png" alt="0695b00000nRPtRAAW.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;My current flow is&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000nRPuYAAW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147528i68F11EAEEF84143F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000nRPuYAAW.png" alt="0695b00000nRPuYAAW.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Once I run the job, my current log shows as follows.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Connecting to socket on port 3508&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;connected&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;tContextLoad_1 set key "startDate" with value "2012-03-01 00:00:00"&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;tContextLoad_1 set key "endDate" with value "&lt;/B&gt;&lt;B&gt;2020-03-27 00:00:00&lt;/B&gt;&lt;B&gt;"&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Info: Parameter "&lt;/B&gt;&lt;B&gt;cleanFiles&lt;/B&gt;&lt;B&gt;" has not been set by tContextLoad_1 ---&amp;gt;Something is wrong here. Why it is not setting?&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;I have the context added to a group of contexts with a default value of false. So when the job executes, the default value is used instead of the one set in the context file. I don't understand why it's working for other variables and not working for this one(cleanFiles)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 09:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Setting-of-Context-Parameter-from-context-file/m-p/2357377#M122696</guid>
      <dc:creator>AMakore1678118010</dc:creator>
      <dc:date>2023-08-23T09:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Setting of Context Parameter from context file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Setting-of-Context-Parameter-from-context-file/m-p/2357378#M122697</link>
      <description>&lt;P&gt;Hi @Amanda Makore​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At first I would suspect there could be a typing difference between the file and the context variable name. But in that case, there should be an warning on the job log saying that 'Parameter "cleanFiles" is a new parameter of tContextLoad_1'. But instead, you're getting a Info stating that '&lt;B&gt;Parameter "cleanFiles" has not been set by tContextLoad_1' &lt;/B&gt;as if this row on the source file is being ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I suggest you check the tFileInputDelimited component. Is there any header, footer or limit set on it? This might cause some lines to be ignored. You could put a tLogRow in between tFileInputDelimited and tContextLoad components to check what the Job is reading from this file.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 17:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Setting-of-Context-Parameter-from-context-file/m-p/2357378#M122697</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-08-24T17:53:08Z</dc:date>
    </item>
  </channel>
</rss>

