<?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: Dynamic Settings  for query type in tSalesForceInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335786#M104306</link>
    <description>&lt;P&gt;I think I see what you are trying here. I take it you are using the Dynamic Settings tab for this? I believe that this could be to do with a timing issue. When components initialise, their parameters must be set before this. I suspect that that is the problem. Can you give a screenshot of your job so I can see if there is a workaround?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 16:45:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-01T16:45:42Z</dc:date>
    <item>
      <title>Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335783#M104303</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately there is not so many examples and post available for the usage of dynamic settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/r/en-US/7.3/studio-user-guide-data-fabric/dynamic-settings-tab-of-components-in-job" target="_blank"&gt;Here&lt;/A&gt; for a checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to decide dynamically, which connection mode for Salesforece (query or bulk) has to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I'm able to set the checkbox "Bulk connection" within tSalesforceConnection from a global variable.&lt;/P&gt;&lt;P&gt;Example: "Bulk connection" -&amp;gt; ((Boolean)globalMap.get("name_of_variable_a_stored").&lt;/P&gt;&lt;P&gt;That works correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In dependency on the type of the connection, I have to set the "Query mode" within tSalesforceInput to&lt;/P&gt;&lt;P&gt;"Query" or "Bulk" for normal and bulk mode, respectively.  And here, the "Query" mode seems to be selected every time, no matter, which value is stored within variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: "Query mode" -&amp;gt; ((String)globalMap.get("name_of_variable_b_stored").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "name_of_variable_b_stored" the string values "Bulk" or "Query" stored dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I set the value directly as text into the dynamic settings, that case seems to work&lt;/P&gt;&lt;P&gt;"Query mode" -&amp;gt; Bulk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a bug of tSalesforeceInput ? or do I set the values for a "select menu" in a wrong way ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I've tried out to set "1", "2" for selection order and also to covert the string to char-array, no success)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Talend 7.3.1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335783#M104303</guid>
      <dc:creator>talend_user_talend</dc:creator>
      <dc:date>2024-11-15T22:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335784#M104304</link>
      <description>&lt;P&gt;It is difficult to understand what you have done and why it might be failing from the description. Would you mind posting a screenshot of your job and any pertinent settings? It give a clearer idea.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 11:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335784#M104304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-01T11:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335785#M104305</link>
      <description>&lt;P&gt;ok, I'll try to reduce the answer to the most important steps&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;set value of the global variables in tJava&lt;OL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDTGwAAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150929i27968C4022AC9868/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDTGwAAO.png" alt="0695b00000aDTGwAAO.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;setting the mode for the bulk connection (works correctly)&lt;OL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDTK5AAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139784i148CF90459408C67/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDTK5AAO.png" alt="0695b00000aDTK5AAO.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDTKZAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139764iAE8BEC31388E3F59/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDTKZAA4.png" alt="0695b00000aDTKZAA4.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;setting the query mode in tSalesforceInput &lt;OL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDTd2AAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138814iF5ECA1D0B2878396/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDTd2AAG.png" alt="0695b00000aDTd2AAG.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDTMuAAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149696iA51C923BE99366FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDTMuAAO.png" alt="0695b00000aDTMuAAO.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Info: input component is not in the bulk-mode&lt;OL&gt;&lt;LI&gt;"[INFO ] 15:27:26 org.talend.components.salesforce.runtime.SalesforceReader- Your input component uses partner connection, while you are in bulk connection mode."&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Hard coded works&lt;OL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDTSOAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135127iF923174C7AD99444/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDTSOAA4.png" alt="0695b00000aDTSOAA4.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt; No warning about the wrong partner connection&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 14:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335785#M104305</guid>
      <dc:creator>talend_user_talend</dc:creator>
      <dc:date>2022-12-01T14:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335786#M104306</link>
      <description>&lt;P&gt;I think I see what you are trying here. I take it you are using the Dynamic Settings tab for this? I believe that this could be to do with a timing issue. When components initialise, their parameters must be set before this. I suspect that that is the problem. Can you give a screenshot of your job so I can see if there is a workaround?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 16:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335786#M104306</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-01T16:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335787#M104307</link>
      <description>&lt;P&gt;yes, it is about "dynamic settings tab". &lt;/P&gt;&lt;P&gt;I've created a simplified job as response to your question.&lt;/P&gt;&lt;P&gt;I hope the issue and implementation becomes clearer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDu8BAAS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147615i4F3BC530559D2CEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDu8BAAS.png" alt="0695b00000aDu8BAAS.png" /&gt;&lt;/span&gt;p.s. on the right hand side, only one of if-conditions is "true", according to the connection type set &lt;/P&gt;&lt;P&gt;(&amp;nbsp;i.e. ((Boolean)globalMap.get("bulk_connection_flag")) == false for "query mode")&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 08:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335787#M104307</guid>
      <dc:creator>talend_user_talend</dc:creator>
      <dc:date>2022-12-02T08:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335788#M104308</link>
      <description>&lt;P&gt;Ah, I see. This makes more sense now. First, this is not actually the problem you are raising here, but I think it may be causing it. Your tPreJob component is not used as it is intended. The tPreJob component should only be linked to components that need to run before the job is run. Once all of the components that need to be run before the job have fired, there is no need to connect the rest of the jobs to this "chain" of jobs. So, I am guessing that your pre job section should stop at "set_global_variables". Also, it is probably best to link the pre job components using OnComponentOK links.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally I would also include the Connection component with the pre job stuff, but in this case I would like to try starting the Main job with that component. The reason for this is that context/globalMap variables will be set at this point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, where you have the RunIf components, what are the conditions for these? This could be a situation where these are playing up and while your Connection is being setup correctly, the RunIfs are not firing correctly.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 09:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335788#M104308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-02T09:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335789#M104309</link>
      <description>&lt;P&gt;you are right about the wrong usage of tPrejob.&lt;/P&gt;&lt;P&gt;I've just deleted the connection, so the main-job is now in the main part. But ... the same behavior&lt;/P&gt;&lt;P&gt;(The connection component can not be moved to prejob, since in the main-application it is a part of a loop and in dependency on some criteria for each iteration the "bulk" or "query" mode has to be used).&lt;/P&gt;&lt;P&gt;Here the summary again:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000aDucBAAS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148132iA74F846EDAE130E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aDucBAAS.png" alt="0695b00000aDucBAAS.png" /&gt;&lt;/span&gt;If-conditions are triggered correctly&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 10:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335789#M104309</guid>
      <dc:creator>talend_user_talend</dc:creator>
      <dc:date>2022-12-02T10:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335790#M104310</link>
      <description>&lt;P&gt;Thanks for raising this @Alexander Mueller​, this is indeed a bug. I will get on to raising it immediately. I have recreated it and have knocked up some (granted, quite ugly) code to test this. Since you have pointed this out, I'll give you a copy to play with. It may be useful to you.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;************************************************************************************&lt;/P&gt;&lt;P&gt;org.talend.components.salesforce.SalesforceConnectionProperties props_tSalesforceConnection_1 = ((org.talend.components.salesforce.SalesforceConnectionProperties) globalMap.get("tSalesforceConnection_1_COMPONENT_RUNTIME_PROPERTIES"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.out.println("Connection Settings");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List &amp;lt; org.talend.daikon.NamedThing &amp;gt; props = props_tSalesforceConnection_1.getProperties();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for (int i = 0; i &amp;lt; props.size(); i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;org.talend.daikon.NamedThing nt = props.get(i);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;System.out.println(nt.getName() + " = ");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;org.talend.daikon.properties.property.Property tmpProp = props_tSalesforceConnection_1.getValuedProperty(nt.getName());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;if (tmpProp != null) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Object ob = tmpProp.getValue();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (ob != null) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (ob instanceof String) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(((String) ob));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (ob instanceof Boolean) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(((Boolean) ob));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.out.println("");&lt;/P&gt;&lt;P&gt;System.out.println("Input Settings");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;org.talend.components.salesforce.tsalesforceinput.TSalesforceInputProperties props_tSalesforceInput_1 = ((org.talend.components.salesforce.tsalesforceinput.TSalesforceInputProperties) globalMap.get("tSalesforceInput_1_COMPONENT_RUNTIME_PROPERTIES"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List &amp;lt; org.talend.daikon.NamedThing &amp;gt; props2 = props_tSalesforceInput_1.getProperties();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for (int i = 0; i &amp;lt; props2.size(); i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;org.talend.daikon.NamedThing nt = props2.get(i);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;System.out.println(nt.getName() + " = ");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;org.talend.daikon.properties.property.Property tmpProp = props_tSalesforceInput_1.getValuedProperty(nt.getName());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;if (tmpProp != null) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Object ob = tmpProp.getValue();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (ob != null) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (ob instanceof String) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(((String) ob));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (ob instanceof Boolean) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(((Boolean) ob));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (ob instanceof org.talend.components.salesforce.tsalesforceinput.TSalesforceInputProperties.QueryMode) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(((org.talend.components.salesforce.tsalesforceinput.TSalesforceInputProperties.QueryMode) ob).name());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;*********************************************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just bung that in a tJava at the end of your job and change the class names to match your Salesforce components. It will show you all of the settings that have been made for them. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, this will not help fix your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I do have a suggestion. It is not great, but it will work. If you create 2 tSalesforceInput components and decide which one to use via a couple of RunIfs, you can set each to the type of query you want. As I said, not ideal. But I will get this raised immediately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for raising this.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 13:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335790#M104310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-02T13:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Settings  for query type in tSalesForceInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335791#M104311</link>
      <description>&lt;P&gt;Ok, thank you for the analyzing of the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 14:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Settings-for-query-type-in-tSalesForceInput/m-p/2335791#M104311</guid>
      <dc:creator>talend_user_talend</dc:creator>
      <dc:date>2022-12-02T14:03:39Z</dc:date>
    </item>
  </channel>
</rss>

