<?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: Bug in tsetGlobalvar with multiple variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Bug-in-tsetGlobalvar-with-multiple-variables/m-p/2345928#M113387</link>
    <description>&lt;P&gt;Hello @Lucas Pujol​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try putting the Key names between quotes like "DestinationUrl" for example. I'd also suggest you to remove "context." from global variable names to avoid mistaking them with context variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then test your Talend Job again using the following syntax: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((String)globalMap.get("DestinationUrl")) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remember to change the String data type according with the type of each variable defined in your "row12" data structure.&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 00:59:48 GMT</pubDate>
    <dc:creator>anselmopeixoto</dc:creator>
    <dc:date>2023-05-26T00:59:48Z</dc:date>
    <item>
      <title>Bug in tsetGlobalvar with multiple variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Bug-in-tsetGlobalvar-with-multiple-variables/m-p/2345927#M113386</link>
      <description>&lt;P&gt;Hi, everyone.&lt;/P&gt;&lt;P&gt;I'm having an issue when trying to assign different values to different global variables with tsetglobalvar. It gives the value of the last set variable to all the other variables. look at the image attached.&lt;/P&gt;&lt;P&gt;All the variables get the value of the DestinationSchema and I dont know why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is very much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Bug-in-tsetGlobalvar-with-multiple-variables/m-p/2345927#M113386</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2024-11-15T21:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in tsetGlobalvar with multiple variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Bug-in-tsetGlobalvar-with-multiple-variables/m-p/2345928#M113387</link>
      <description>&lt;P&gt;Hello @Lucas Pujol​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try putting the Key names between quotes like "DestinationUrl" for example. I'd also suggest you to remove "context." from global variable names to avoid mistaking them with context variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then test your Talend Job again using the following syntax: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((String)globalMap.get("DestinationUrl")) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remember to change the String data type according with the type of each variable defined in your "row12" data structure.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 00:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Bug-in-tsetGlobalvar-with-multiple-variables/m-p/2345928#M113387</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-05-26T00:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in tsetGlobalvar with multiple variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Bug-in-tsetGlobalvar-with-multiple-variables/m-p/2345929#M113388</link>
      <description>&lt;P&gt; If you need to assign the input value to context variable, use tJavaRow instead of tsetGlobalvar&amp;nbsp;component, eg:&lt;/P&gt;&lt;P&gt;...main---tJavaRow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on tJavaRow:&lt;/P&gt;&lt;P&gt;context.varName=input_row.columnName;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 02:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Bug-in-tsetGlobalvar-with-multiple-variables/m-p/2345929#M113388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-26T02:41:12Z</dc:date>
    </item>
  </channel>
</rss>

