<?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] need help records are inserted/updated in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290155#M63463</link>
    <description>Hi, 
&lt;BR /&gt;If you set the Action on data on DB is "Update or Insert", there is a Key schema needed for this table. 
&lt;BR /&gt;Perhaps the tsendmail message body should be : 
&lt;PRE&gt;"The inserted number"+((Integer)globalMap.get("tMysqlOutput_1_NB_LINE_INSERTED"))+"The Updated number"+((Integer)globalMap.get("tMysqlOutput_1_NB_LINE_UPDATED"))&lt;/PRE&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
    <pubDate>Wed, 19 Jun 2013 09:21:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-19T09:21:25Z</dc:date>
    <item>
      <title>[resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290147#M63455</link>
      <description>Hi, 
&lt;BR /&gt; I need a help to how to send a mail with how many records are inserted/updated in specific table. I design the job but unable to achieve the functionality. 
&lt;BR /&gt; could you please help me. 
&lt;BR /&gt;thx 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Wed, 19 Jun 2013 08:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290147#M63455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T08:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290148#M63456</link>
      <description>Connect tSendMail with OnComponentOK from the second tOracleOutput or with OnSubjobOK from the first tOracleInput.</description>
      <pubDate>Wed, 19 Jun 2013 08:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290148#M63456</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-06-19T08:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290149#M63457</link>
      <description>Hi, 
&lt;BR /&gt;In addition, Nb_LINE is used to count the total number of records have been proceed. When inserted item is choosen, there will be a global variale such as ((Integer)globalMap.get("tOracleoutput_1_NB_LINE_INSERTED")) will be avaible, which counts the total number of records have been inserted into database. The same to updated, deleted items. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 19 Jun 2013 08:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290149#M63457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T08:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290150#M63458</link>
      <description>Hi,&lt;BR /&gt;  In tsendmail message body i have to use global variable ((Integer)globalMap.get("tOracleoutput_1_NB_LINE_INSERTED")). Could you please help me.&lt;BR /&gt;&lt;BR /&gt;Thx</description>
      <pubDate>Wed, 19 Jun 2013 08:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290150#M63458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T08:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290151#M63459</link>
      <description>Hi, 
&lt;BR /&gt;You can set the expression of body as: 
&lt;BR /&gt;""+((Integer)globalMap.get("tMysqlOutput_1_NB_LINE_INSERTED")) 
&lt;BR /&gt;or 
&lt;BR /&gt;"The total number of processed files is: "+((Integer)globalMap.get("tMysqlOutput_1_NB_LINE_INSERTED")). 
&lt;BR /&gt;String.valueOf((Integer)globalMap.get("tMysqlOutput_1_NB_LINE_INSERTED")) is also Ok. 
&lt;BR /&gt;See my screenshot 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEgC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142872i331F3D9C8C8A14AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEgC.png" alt="0683p000009MEgC.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 19 Jun 2013 08:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290151#M63459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290152#M63460</link>
      <description>Hi sabrina,
&lt;BR /&gt; Thanks for inputs. however i want to use a single tsendmail component and in that message body i have to use no. of records inserted and no. of records updated. Is it possible?
&lt;BR /&gt; could you please help me.
&lt;BR /&gt;Thx</description>
      <pubDate>Wed, 19 Jun 2013 08:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290152#M63460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T08:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290153#M63461</link>
      <description>Hi, 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Thanks for inputs. however i want to use a single tsendmail component and in that message body i have to use no. of records inserted and no. of records updated. Is it possible?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;no.of record inserted and no. of records updated? How did you set your DB "Action on data" if you want both of them? Could you please elaborate your case with an example with expected output values? 
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 19 Jun 2013 09:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290153#M63461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T09:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290154#M63462</link>
      <description>Hi sabrina,
&lt;BR /&gt; Yes. I want both of them. I set the Action on data on DB is "Update or Insert". So i want to capture no. of records inserted and no.of records updated in tsendmail message body. could you please advise or help me.
&lt;BR /&gt;Thx,</description>
      <pubDate>Wed, 19 Jun 2013 09:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290154#M63462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T09:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] need help records are inserted/updated</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290155#M63463</link>
      <description>Hi, 
&lt;BR /&gt;If you set the Action on data on DB is "Update or Insert", there is a Key schema needed for this table. 
&lt;BR /&gt;Perhaps the tsendmail message body should be : 
&lt;PRE&gt;"The inserted number"+((Integer)globalMap.get("tMysqlOutput_1_NB_LINE_INSERTED"))+"The Updated number"+((Integer)globalMap.get("tMysqlOutput_1_NB_LINE_UPDATED"))&lt;/PRE&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 19 Jun 2013 09:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-need-help-records-are-inserted-updated/m-p/2290155#M63463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T09:21:25Z</dc:date>
    </item>
  </channel>
</rss>

