<?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: [resolved] Component uses default context value instead of just loaded one in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325715#M95287</link>
    <description>Hi,&lt;BR /&gt;Could you please give us your job setting screenshots? In this way, we can see if there is something wrong with your setting.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Tue, 23 Aug 2016 04:48:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-23T04:48:51Z</dc:date>
    <item>
      <title>[resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325714#M95286</link>
      <description>Hello,
&lt;BR /&gt;I'm loading context from a csv file in a prejob and after it is loaded I print it with tjava component and it shows me a correct value.
&lt;BR /&gt;However when I try using it in a tSalesforceGetUpdated as a start and end dates, the component seems to use the default dummy values instead of just loaded ones.&amp;nbsp;
&lt;BR /&gt;Does anyone has any idea how to fix this?
&lt;BR /&gt;Any help is very much appreciated!
&lt;BR /&gt;
&lt;BR /&gt;Gabriele</description>
      <pubDate>Sat, 16 Nov 2024 10:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325714#M95286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325715#M95287</link>
      <description>Hi,&lt;BR /&gt;Could you please give us your job setting screenshots? In this way, we can see if there is something wrong with your setting.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 23 Aug 2016 04:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325715#M95287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T04:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325716#M95288</link>
      <description>Hello, of course: So the dates are correct in the context that I load, but too early in the defaults. It seems like context values are set, but the component still uses the defaults. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFXn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154828iD72E5A3176219818/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFXn.png" alt="0683p000009MFXn.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFcM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140475i458D0E06FE7BA4FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFcM.png" alt="0683p000009MFcM.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFf5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147866i5FC94D45D4C218C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFf5.png" alt="0683p000009MFf5.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 23 Aug 2016 10:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325716#M95288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T10:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325717#M95289</link>
      <description>Are you sure that the default dates are being used or is that an assumption? Could you set the default dates to the ones you think are correct (the ones you are setting using the tContextLoad) and let us know what happens?</description>
      <pubDate>Tue, 23 Aug 2016 10:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325717#M95289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T10:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325718#M95290</link>
      <description>Yes, if I put the same dates I load in context as default values then it runs:
&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFZm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149509iFF4E44F7119EEDAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFZm.png" alt="0683p000009MFZm.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 23 Aug 2016 10:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325718#M95290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T10:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325719#M95291</link>
      <description>OK. here used to be an issue with setting context variables in code (in tJava) components that would happen like this, but you are using the tContextLoad. This is strange. The only thing I can think of adjusting is to link your subjobs using the OnSubJobOK connectors rather than the OnComponentOK connectors. If that makes a difference, this could be a bug.&lt;BR /&gt;&lt;BR /&gt;Also, could you show us how the Salesforce component is configured if the above doesn't solve your issue.</description>
      <pubDate>Tue, 23 Aug 2016 10:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325719#M95291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T10:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325720#M95292</link>
      <description>I changed to onSubjobOk links - nothing changed. 
&lt;BR /&gt; 
&lt;BR /&gt;Also, if I do not set any default values for context variables, then it throws an error : 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFfA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151542iCEF3DF38881F8B3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFfA.png" alt="0683p000009MFfA.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;in the java code: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFfF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138266i97421380150A477F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFfF.png" alt="0683p000009MFfF.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;it seems ir can't find any value. Altough tJava component can successfuly print loaded values, but the Salesforce component can't see it. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFMd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129353i9B30139F1AB9904B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFMd.png" alt="0683p000009MFMd.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 23 Aug 2016 10:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325720#M95292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T10:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325721#M95293</link>
      <description>Yes, the component configuration:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFJC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148845i414AF16865352E99/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFJC.png" alt="0683p000009MFJC.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 23 Aug 2016 10:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325721#M95293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T10:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325722#M95294</link>
      <description>Thank you for your help. 
&lt;BR /&gt; I still don't know why the loaded context can't be reached from the tSalesforceGetUpdated component, but 
&lt;BR /&gt;I was able to get the functionality I needed by setting global Map variable in the tJava with the loaded context value: 
&lt;BR /&gt;globalMap.put("LastCheck", context.timeLast); 
&lt;BR /&gt; and writing expression directly in the tSalesforceGetUpdated component field: 
&lt;BR /&gt;Start Date: (String)globalMap.get("LastCheck") 
&lt;BR /&gt;End Date: TalendDate.getDate("CCYY-MM-DD hh:mm:ss" )</description>
      <pubDate>Tue, 23 Aug 2016 11:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325722#M95294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T11:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Component uses default context value instead of just loaded one</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325723#M95295</link>
      <description>This appears to be a bug with the component. 
&lt;A href="https://jira.talendforge.org/browse/TDI-36865" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-36865&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Just saw your post. Given the description of the problem in their Jira, I am surprised that works. However, if it does that's great!</description>
      <pubDate>Tue, 23 Aug 2016 11:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Component-uses-default-context-value-instead-of-just/m-p/2325723#M95295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T11:42:58Z</dc:date>
    </item>
  </channel>
</rss>

