<?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 Generate errors from a tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generate-errors-from-a-tMap/m-p/2346789#M114147</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to control data from a tMap.&lt;/P&gt;&lt;P&gt;- Some data come from a tJavaFlex, for example : &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOmOAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156352i3BF01C0D7DB75831/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOmOAAU.png" alt="0695b00000dbOmOAAU.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Others come from lookups, I created an output to gather the data to control&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOmxAAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128276iB45243E4D6EE0120/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOmxAAE.png" alt="0695b00000dbOmxAAE.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, my output is connected to a tFlowToIterate and to if conditions like if id_cent_ctrl == null then the message in tDie, which is captured by a tLogCatcher.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOnHAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154629i554E2537D10F3C09/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOnHAAU.png" alt="0695b00000dbOnHAAU.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although it works, I don't really like this method because even with "main order 1", the flow is executed at the same time as "main order 2". So in case of null data, I have the following exception &lt;/P&gt;&lt;P&gt;(from the tConvertType component) displayed :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOp3AAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146334iD8D959A3B199A0B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOp3AAE.png" alt="0695b00000dbOp3AAE.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the tDie exception. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOp8AAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149114iCDE579C96B081D7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOp8AAE.png" alt="0695b00000dbOp8AAE.png" /&gt;&lt;/span&gt;And I want that before launching the "main order 2" flow, everything is checked and the job is stopped with tDie if necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Isn't there a better way to do it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:06:30 GMT</pubDate>
    <dc:creator>stephbzr</dc:creator>
    <dc:date>2024-11-15T22:06:30Z</dc:date>
    <item>
      <title>Generate errors from a tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-errors-from-a-tMap/m-p/2346789#M114147</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to control data from a tMap.&lt;/P&gt;&lt;P&gt;- Some data come from a tJavaFlex, for example : &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOmOAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156352i3BF01C0D7DB75831/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOmOAAU.png" alt="0695b00000dbOmOAAU.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Others come from lookups, I created an output to gather the data to control&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOmxAAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128276iB45243E4D6EE0120/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOmxAAE.png" alt="0695b00000dbOmxAAE.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, my output is connected to a tFlowToIterate and to if conditions like if id_cent_ctrl == null then the message in tDie, which is captured by a tLogCatcher.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOnHAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154629i554E2537D10F3C09/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOnHAAU.png" alt="0695b00000dbOnHAAU.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although it works, I don't really like this method because even with "main order 1", the flow is executed at the same time as "main order 2". So in case of null data, I have the following exception &lt;/P&gt;&lt;P&gt;(from the tConvertType component) displayed :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOp3AAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146334iD8D959A3B199A0B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOp3AAE.png" alt="0695b00000dbOp3AAE.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the tDie exception. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000dbOp8AAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149114iCDE579C96B081D7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000dbOp8AAE.png" alt="0695b00000dbOp8AAE.png" /&gt;&lt;/span&gt;And I want that before launching the "main order 2" flow, everything is checked and the job is stopped with tDie if necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Isn't there a better way to do it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-errors-from-a-tMap/m-p/2346789#M114147</guid>
      <dc:creator>stephbzr</dc:creator>
      <dc:date>2024-11-15T22:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Generate errors from a tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-errors-from-a-tMap/m-p/2346790#M114148</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;This error occurs on tConvertType if the input data contains null value. "main order 1" and "main order 2" are both of tMap outputs, they are executed in parallel, if you want everything is checked and die the job if an error occurs or an an conditions is matched,  store the output of tMap to memory or temporary file and move the process to next subjob.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 10:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-errors-from-a-tMap/m-p/2346790#M114148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-15T10:55:04Z</dc:date>
    </item>
  </channel>
</rss>

