<?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: [resolved] Capturing tSalesforceOutput and tRSSInput errors in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317438#M87883</link>
    <description>Hello 
&lt;BR /&gt;Currently, we can't catch the whole error trace, some users have added a 9680. We will try to enhance the ability of error manage. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
    <pubDate>Wed, 04 Nov 2009 03:15:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-11-04T03:15:48Z</dc:date>
    <item>
      <title>[resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317429#M87874</link>
      <description>Hello all, 
&lt;BR /&gt;I would like to capture any errors from the above components and email them. I have followed the instructions here: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCoftCAC" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-Use-tLogCatcher-tDie-to-add-custom-error-message-and/td-p/96306&lt;/A&gt; on using tJavaRow and a variable "context.errormsg=input_row.message;" to capture the error and put it into an email. 
&lt;BR /&gt;Only prob is the variable context.errormsg keeps on coming out Null when there has been an issue. Am I looking in the wrong place for the error test? 
&lt;BR /&gt;thanks! 
&lt;BR /&gt;tim</description>
      <pubDate>Sat, 16 Nov 2024 13:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317429#M87874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317430#M87875</link>
      <description>Hello 
&lt;BR /&gt;First, what's the error message? It is a java exception? the tLogCatcher is used to catch the java exception, tDie and tWarn message. If the error is not a java exception, you could add a tDie to die the job and log a error message. 
&lt;BR /&gt;Second, modify a little on your job, 
&lt;BR /&gt;tRssInput---tMap--&amp;gt;... 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjoberror 
&lt;BR /&gt; | 
&lt;BR /&gt;tSendEmail 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 21 Oct 2009 07:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317430#M87875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-21T07:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317431#M87876</link>
      <description>Hi shong, 
&lt;BR /&gt;Thanks for your reply! 
&lt;BR /&gt;Difficult to say what error im catching as im not sure what errors could happen 
&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; The errors im testing with for tRSSInput is using the wrong URL and tSalesforceOutput invalid login details. What i need to be informed of is if the job has had an issue grabbing an item from the RSS feed or had an issue inserting it into Salesforce and email me the error reported. 
&lt;BR /&gt;Also I would like to do a check to make sure the number of RSS articles read is the same number of records inserted into Salesforce. 
&lt;BR /&gt;I do not want the job to completely die if an error is encountered, as it maybe just one record having a problem out of many, would tDie be the best approach? 
&lt;BR /&gt;Using onsubjoberror - does this mean that on any error on the job and email would be sent? 
&lt;BR /&gt;thanks for your help, 
&lt;BR /&gt;tim</description>
      <pubDate>Wed, 21 Oct 2009 17:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317431#M87876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-21T17:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317432#M87877</link>
      <description>Hello 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;would tDie be the best approach?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;If you don't want to die the job when an error occurs, you can use a tWarn just to warn a error message without die the job, and tLogCatcher will catch this error message.
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Using onsubjoberror - does this mean that on any error on the job and email would be sent&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Yes, any error on the previou sub job, maybe on tRssInput or tSaleOutput, a email would be sent.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 22 Oct 2009 04:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317432#M87877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-22T04:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317433#M87878</link>
      <description>Hi shong, thanks again for your reply. 
&lt;BR /&gt;So thats logical to use tWarn as tSaleOutput is set to not Die on error. 
&lt;BR /&gt;I still have two issues... 
&lt;BR /&gt;tWarn is correctly triggered on job error and sends the email - but, all I get in the email is "this is a warning" what is the default messages from tWarn, not what has gone wrong. JavaRow code is "context.errormsg=input_row.message;" and SendMail message is "context.errormsg" 
&lt;BR /&gt;tSaleOutput is set to not die on error, as we are aware there will be times when errors will come up and we do not wish to die the full job. But, I still need to capture these errors, with die off, no errors are reported. 
&lt;BR /&gt; 
&lt;BR /&gt;Sorry if this seems like simple issues, but I have struggled to find any help on this subject, if you can point me towards some documentation Ill happily have a look. 
&lt;BR /&gt;Have attached a screen grab of the project as well. 
&lt;BR /&gt;thanks, tim</description>
      <pubDate>Thu, 22 Oct 2009 12:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317433#M87878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-22T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317434#M87879</link>
      <description>Hello Tim 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Only prob is the variable context.errormsg keeps on coming out Null when there has been an issue&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Yes, you are right. It will be null if you put all the components in a job, as the tLogCatcher component always catch the error message at the end of job. I have made a mistake, sorry. 
&lt;BR /&gt;Here we need move the components which will throw errors and the tLogCatcher component to another job. I have redesign the job, please see my screenshots. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 23 Oct 2009 09:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317434#M87879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-23T09:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317435#M87880</link>
      <description>Hello shong, sorry for my delayed reply... 
&lt;BR /&gt;I have set things as above, but, when having an error with tRSS... or tSalesforce... I receive no emails. 
&lt;BR /&gt;I have made to changes to what you suggest... 
&lt;BR /&gt; 1. Changed tRunJob output from OnSubjobOK to OnSubjobError 
&lt;BR /&gt; 2. tSendMail "Die if the attachment file doesnt exist" = false 
&lt;BR /&gt;With the above changes I do get an email, but, the body in the email is "null" 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Please let me know what you think? If I can provide you with anymore info please say. 
&lt;BR /&gt;thanks, 
&lt;BR /&gt;tim</description>
      <pubDate>Mon, 02 Nov 2009 12:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317435#M87880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-02T12:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317436#M87881</link>
      <description>Hello tim
&lt;BR /&gt;I tested and it is fine, not null. So can you export your job and send it to me via email?
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 02 Nov 2009 13:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317436#M87881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-02T13:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317437#M87882</link>
      <description>Hi Shong, 
&lt;BR /&gt;Not sure what I missed but it is working correctly now, maybe I miss spelled one of the variables. 
&lt;BR /&gt;If i put in a wrong RSS url I get an error "java.lang.NullPointerException:null" - what's a good start! 
&lt;BR /&gt;But, in talend studio I have this reported in the Rub Job tab... 
&lt;BR /&gt;"org.dom4j.DocumentException: Server returned HTTP response code: 403 for URL: ...(rest removed)" 
&lt;BR /&gt;This is a more useful error for me, is there anyway to capture this? 
&lt;BR /&gt;Thanks for your help! 
&lt;BR /&gt;tim</description>
      <pubDate>Tue, 03 Nov 2009 17:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317437#M87882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-03T17:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317438#M87883</link>
      <description>Hello 
&lt;BR /&gt;Currently, we can't catch the whole error trace, some users have added a 9680. We will try to enhance the ability of error manage. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 04 Nov 2009 03:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317438#M87883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-04T03:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing tSalesforceOutput and tRSSInput errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317439#M87884</link>
      <description>thank you so much for your help shong!
&lt;BR /&gt;tim</description>
      <pubDate>Wed, 04 Nov 2009 11:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-tSalesforceOutput-and-tRSSInput-errors/m-p/2317439#M87884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-04T11:56:59Z</dc:date>
    </item>
  </channel>
</rss>

