<?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: How to map global variable into insert statement (Output component)? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364443#M128186</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Global variables are available using "globalMap.get" method. Here is an example for a String variable:&lt;/P&gt;&lt;PRE&gt;(String)globalMap.get("yourVariable")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2017 08:26:53 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-10-02T08:26:53Z</dc:date>
    <item>
      <title>How to map global variable into insert statement (Output component)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364442#M128185</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;simple task, how to map global variable into Output component? I have job, where I do synchronization and after success or failed execution, I want to insert into log table some values from global variables which I have setted in process. I tried to use tMap, but there is compilation error "var cannot be rrsolved to a variable". What is the pattern for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;R&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 08:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364442#M128185</guid>
      <dc:creator>Romanesku</dc:creator>
      <dc:date>2017-10-02T08:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to map global variable into insert statement (Output component)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364443#M128186</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Global variables are available using "globalMap.get" method. Here is an example for a String variable:&lt;/P&gt;&lt;PRE&gt;(String)globalMap.get("yourVariable")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 08:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364443#M128186</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-10-02T08:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to map global variable into insert statement (Output component)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364444#M128187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;that is clear, but I do not know which component can I use for this declaration. Now I am tring use tFlexFlowInput, where I have two columns one for each variable. This tFlexFlowInput is joined with Output table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Current problem is Type mismatch: cannot convert from STring to date &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;R.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 08:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364444#M128187</guid>
      <dc:creator>Romanesku</dc:creator>
      <dc:date>2017-10-02T08:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to map global variable into insert statement (Output component)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364445#M128188</link>
      <description>&lt;P&gt;Your problem is that your DB table is expecting a Date and you are supplying a String. You need to convert your String value to a Date. You can use this included routine/method to convert it in Talend.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;routines.TalendDate.parseDate(pattern, stringDate)&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Oct 2017 09:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364445#M128188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-02T09:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to map global variable into insert statement (Output component)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364446#M128189</link>
      <description>&lt;P&gt;I am having the same issue, How did you generalize to get&amp;nbsp;all global&amp;nbsp;variable values outputted from every component.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;even I want to capture all those global variable values in internal audit log table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example, tFTPPut knoww what file it uploaded onto FTP, I need to fetch that last once it uploaded successfully &amp;amp; add that into our internal audit log table.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 16:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364446#M128189</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2017-10-02T16:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to map global variable into insert statement (Output component)?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364447#M128190</link>
      <description>&lt;P&gt;Hi nmodi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;now I am using fFixedFlowInput where for each variable is set one row Column with name and in Value with&amp;nbsp;(String)globalMap.get("MyStringVariable"),&amp;nbsp;&lt;SPAN&gt;(Integer)globalMap.get("MyNumberVariable") or&amp;nbsp;(Date)globalMap.get("MydateVariable"). The rows were created in Edit schema. And this table is mapped with Output component with Insert action on data.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Roman&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-map-global-variable-into-insert-statement-Output/m-p/2364447#M128190</guid>
      <dc:creator>Romanesku</dc:creator>
      <dc:date>2017-10-02T20:10:23Z</dc:date>
    </item>
  </channel>
</rss>

