<?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 use context variable in a tMap output filter section in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378111#M139922</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3EdAAL.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140023i34669DE162DA7457/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3EdAAL.jpg" alt="0695b00000OB3EdAAL.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3EYAA1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149567i133501DC2E545B8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3EYAA1.jpg" alt="0695b00000OB3EYAA1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3ETAA1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133437i6163062F701A0D6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3ETAA1.jpg" alt="0695b00000OB3ETAA1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3EJAA1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157948iDDAEB87E694BDAB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3EJAA1.jpg" alt="0695b00000OB3EJAA1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3EEAA1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153049i3605E8C2BDF066DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3EEAA1.jpg" alt="0695b00000OB3EEAA1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3E9AAL.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145335iAA62E54B80FB8DD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3E9AAL.jpg" alt="0695b00000OB3E9AAL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Feb 2022 09:43:12 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2022-02-14T09:43:12Z</dc:date>
    <item>
      <title>how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378105#M139916</link>
      <description>&lt;P&gt;Hi All, I am Currently reading data from a source file and I want to filter specific records from a column row1.abc and I am using the below condition&lt;/P&gt;&lt;P&gt;&lt;I&gt;" row1.abc == 1 || row1.abc ==2|| row1.abc ==3 "&lt;/I&gt; in tMap output side filter section. &lt;/P&gt;&lt;P&gt;&lt;B&gt;Requirement&lt;/B&gt;- I want to pass the values 1,2,3 to the above expression using a context variable in tMap output filter. Please help me how to achieve this. Thanks in advance..!&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 12:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378105#M139916</guid>
      <dc:creator>Vinlogs</dc:creator>
      <dc:date>2022-02-11T12:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378106#M139917</link>
      <description>&lt;P&gt;Hi, so you want all the values in one variable or one variable for each value ?&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 13:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378106#M139917</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-11T13:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378107#M139918</link>
      <description>&lt;P&gt;Hi, Thanks for responding. I want all values in one context variable if possible.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 13:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378107#M139918</guid>
      <dc:creator>Vinlogs</dc:creator>
      <dc:date>2022-02-11T13:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378108#M139919</link>
      <description>&lt;P&gt; use a context variable&lt;/P&gt;&lt;P&gt; here the name i use is list1 and value is "1,2,3" as String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then in a tJava a the begining of the job &lt;/P&gt;&lt;P&gt;in advanced settings of the tJava:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import java.util.List;&lt;/P&gt;&lt;P&gt;import java.util.ArrayList;&lt;/P&gt;&lt;P&gt;import java.util.Arrays;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the basic settings of the tJava :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List&amp;lt;String&amp;gt; str = (Arrays.asList(context.list1.split(",")));&lt;/P&gt;&lt;P&gt;List&amp;lt;Integer&amp;gt; intList = new ArrayList&amp;lt;&amp;gt;();&lt;/P&gt;&lt;P&gt;str.forEach(a-&amp;gt; intList.add(Integer.parseInt(a)));&lt;/P&gt;&lt;P&gt;globalMap.put("intList", intList);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in the tmap filter output expression :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((List&amp;lt;Integer&amp;gt;)globalMap.get("intList")).contains(row1.abc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;send me love and kudos&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378108#M139919</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-11T14:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378109#M139920</link>
      <description>&lt;P&gt;I have defined the code in tJava component as you mentioned and created a context variable with string data type and inserted value 22,38,39 in contexts section. But I am getting below error-&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB2w5AAD.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127992i1AC98F9DF22FEFFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB2w5AAD.jpg" alt="0695b00000OB2w5AAD.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB2x8AAD.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140476i4BFB23CCFD2BF1A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB2x8AAD.jpg" alt="0695b00000OB2x8AAD.jpg" /&gt;&lt;/span&gt;please advise.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 08:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378109#M139920</guid>
      <dc:creator>Vinlogs</dc:creator>
      <dc:date>2022-02-14T08:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378110#M139921</link>
      <description>&lt;P&gt;could you go to the code view and share screen where the error is. you can find it where there is red square. cause i test this particular piece of code and it's working&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 09:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378110#M139921</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-14T09:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378111#M139922</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3EdAAL.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140023i34669DE162DA7457/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3EdAAL.jpg" alt="0695b00000OB3EdAAL.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3EYAA1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149567i133501DC2E545B8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3EYAA1.jpg" alt="0695b00000OB3EYAA1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3ETAA1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133437i6163062F701A0D6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3ETAA1.jpg" alt="0695b00000OB3ETAA1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3EJAA1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157948iDDAEB87E694BDAB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3EJAA1.jpg" alt="0695b00000OB3EJAA1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3EEAA1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153049i3605E8C2BDF066DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3EEAA1.jpg" alt="0695b00000OB3EEAA1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OB3E9AAL.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145335iAA62E54B80FB8DD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OB3E9AAL.jpg" alt="0695b00000OB3E9AAL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 09:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378111#M139922</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-14T09:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378112#M139923</link>
      <description>&lt;P&gt;Thanks for sharing your screenshots, I am not able to see any errors in code view. But after I changed my string data type context variable value with enclosed double quotes "22,38,39" I am getting below error upon job run - &lt;I&gt;{"logTimestamp":1644835697403,"severity":"FATAL","logType":null,"logMessage":"tJava_3 For input string: \"\"\njava.lang.NumberFormatException: For input string: \"\"\n\tat java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)\n\tat java.lang.Integer.parseInt(Integer.java:592)\n\tat&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 10:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378112#M139923</guid>
      <dc:creator>Vinlogs</dc:creator>
      <dc:date>2022-02-14T10:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to use context variable in a tMap output filter section</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378113#M139924</link>
      <description>&lt;P&gt;Thanks, @guenneguez jeremy​&amp;nbsp;!! The solution you provided did work. Appreciate your detailed solution with screenshots. Love and Kudos!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 16:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-context-variable-in-a-tMap-output-filter-section/m-p/2378113#M139924</guid>
      <dc:creator>Vinlogs</dc:creator>
      <dc:date>2022-02-23T16:57:01Z</dc:date>
    </item>
  </channel>
</rss>

