<?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: Manually firing off the trigger &amp;quot;On Component Error&amp;quot; from a tJavarow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231601#M21851</link>
    <description>&lt;P&gt;Am I missing something. The answer does not actually answer the question!&lt;/P&gt;&lt;P&gt;I also have a tJavaRow that gets information from a web service for each record that goes through it.&lt;/P&gt;&lt;P&gt;Is I get an error from the web service or it becomes unavailable I want to trigger an alternate execution path through a On Component error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how do I trigger this On Component error?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 17:31:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-28T17:31:10Z</dc:date>
    <item>
      <title>Manually firing off the trigger "On Component Error" from a tJavarow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231599#M21849</link>
      <description>I would like to error out a tJavaRow with a condition in my code, &amp;nbsp;is that possible to fire off the&amp;nbsp;"On Component Error" with code? 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDRp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136692i0F88005256D4CD67/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDRp.png" alt="0683p000009MDRp.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 22 Feb 2017 18:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231599#M21849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-22T18:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Manually firing off the trigger "On Component Error" from a tJavarow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231600#M21850</link>
      <description>Hi,
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;The Java code&amp;nbsp;of the&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;tJavaRow&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;will be executed for each row. The&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;tJavaRow&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;is normally used as an intermediary component.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;For your use case, you can use tJava component&amp;nbsp;which&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;is used to execute a piece of Java code as a separate subjob in most cases. The Java code will be executed only once.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 23 Feb 2017 03:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231600#M21850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-23T03:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Manually firing off the trigger "On Component Error" from a tJavarow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231601#M21851</link>
      <description>&lt;P&gt;Am I missing something. The answer does not actually answer the question!&lt;/P&gt;&lt;P&gt;I also have a tJavaRow that gets information from a web service for each record that goes through it.&lt;/P&gt;&lt;P&gt;Is I get an error from the web service or it becomes unavailable I want to trigger an alternate execution path through a On Component error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how do I trigger this On Component error?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 17:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231601#M21851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-28T17:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Manually firing off the trigger "On Component Error" from a tJavarow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231602#M21852</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;Which component you are using to fetch webservice ? If webservice failes you could attach onComponentError to it.&lt;BR /&gt;&lt;BR /&gt;On tjavarow , you could throw runtime Exception to trigger oncomponenterror&lt;BR /&gt;E.g&lt;BR /&gt;throw new Exception(“manual error”)&lt;BR /&gt;Or int x = 10/a&lt;BR /&gt;If error , a=0 otherwise a=1</description>
      <pubDate>Thu, 28 Feb 2019 19:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manually-firing-off-the-trigger-quot-On-Component-Error-quot/m-p/2231602#M21852</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-28T19:28:03Z</dc:date>
    </item>
  </channel>
</rss>

