<?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 tSendMail - change Importance Flag at run-time in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-change-Importance-Flag-at-run-time/m-p/2331614#M100583</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to change the Importance flag on the tSendMail component at run-time. I've searched but cannot see any subjects or post on here or anywhere on Google.&lt;BR /&gt;&lt;BR /&gt;Here's the scenario:&lt;BR /&gt;&lt;BR /&gt;input file --&amp;gt; get counts --&amp;gt; remove duplicates --&amp;gt; add to SQL --&amp;gt; get SQL counts --&amp;gt; tJava (to do some calculations and construct the email body) --&amp;gt; send email&lt;BR /&gt;And yes I'm using context variables to store certain information.&lt;BR /&gt;&lt;BR /&gt;I have a job that has one tSendMail component. The job adds data to an SQL Server table. I count the number of records that are in the original file and then I have a count of the number of record actually added to the SQL table. It's possible for the original data to contain duplicate records. This is eliminated in the job so the count from the original records could be different to what actually goes into SQL. One way or another an email alert needs to be sent that the job has completed including a summary of the counts. What I need to do is change the 'Importance' of the email alert to 'High' instead of normal when the figures do not match. The default setting is normal. How do I change the Importance from normal to High at run-time? I'd prefer not to add another tSendMail component.&lt;BR /&gt;&lt;BR /&gt;I'm using TDM platform v6.2&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Jay&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2017 14:32:40 GMT</pubDate>
    <dc:creator>jay6</dc:creator>
    <dc:date>2017-02-14T14:32:40Z</dc:date>
    <item>
      <title>tSendMail - change Importance Flag at run-time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-change-Importance-Flag-at-run-time/m-p/2331614#M100583</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to change the Importance flag on the tSendMail component at run-time. I've searched but cannot see any subjects or post on here or anywhere on Google.&lt;BR /&gt;&lt;BR /&gt;Here's the scenario:&lt;BR /&gt;&lt;BR /&gt;input file --&amp;gt; get counts --&amp;gt; remove duplicates --&amp;gt; add to SQL --&amp;gt; get SQL counts --&amp;gt; tJava (to do some calculations and construct the email body) --&amp;gt; send email&lt;BR /&gt;And yes I'm using context variables to store certain information.&lt;BR /&gt;&lt;BR /&gt;I have a job that has one tSendMail component. The job adds data to an SQL Server table. I count the number of records that are in the original file and then I have a count of the number of record actually added to the SQL table. It's possible for the original data to contain duplicate records. This is eliminated in the job so the count from the original records could be different to what actually goes into SQL. One way or another an email alert needs to be sent that the job has completed including a summary of the counts. What I need to do is change the 'Importance' of the email alert to 'High' instead of normal when the figures do not match. The default setting is normal. How do I change the Importance from normal to High at run-time? I'd prefer not to add another tSendMail component.&lt;BR /&gt;&lt;BR /&gt;I'm using TDM platform v6.2&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Jay&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 14:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-change-Importance-Flag-at-run-time/m-p/2331614#M100583</guid>
      <dc:creator>jay6</dc:creator>
      <dc:date>2017-02-14T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail - change Importance Flag at run-time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-change-Importance-Flag-at-run-time/m-p/2331615#M100584</link>
      <description>&lt;P align="left"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;Hi,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="left"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;You cannot change the flag at run-time when building your job in studio.&amp;nbsp;Have you tried to change parameter from commandline?&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="left"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="left"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;In this way, you can change the flag at runtime by modifying the launch script.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;P align="left"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;BR /&gt;[left][font=Verdana, sans-serif] 
&lt;FONT size="2"&gt;Sabrina&lt;/FONT&gt;[/font][/left]</description>
      <pubDate>Mon, 06 Mar 2017 08:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-change-Importance-Flag-at-run-time/m-p/2331615#M100584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T08:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: tSendMail - change Importance Flag at run-time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSendMail-change-Importance-Flag-at-run-time/m-p/2331616#M100585</link>
      <description>Thanks Sabrina.
&lt;BR /&gt;
&lt;BR /&gt;I thought as much that you cannot change the flag, but it's good to check just in case.
&lt;BR /&gt;How would you achieve this using CommandLine. I have no idea.
&lt;BR /&gt;
&lt;BR /&gt;Jay</description>
      <pubDate>Tue, 14 Mar 2017 12:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSendMail-change-Importance-Flag-at-run-time/m-p/2331616#M100585</guid>
      <dc:creator>jay6</dc:creator>
      <dc:date>2017-03-14T12:55:58Z</dc:date>
    </item>
  </channel>
</rss>

