<?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>question How to customize email subject in Apache NiFI Putemail processor? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116201#M54988</link>
    <description>&lt;P&gt;I am running Apache NiFI. My use case is to monitor the file transfer process (GetFile to PutHDFS) and send an email whenever their is an error.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2017 15:16:00 GMT</pubDate>
    <dc:creator>pradhumankumar_</dc:creator>
    <dc:date>2017-02-21T15:16:00Z</dc:date>
    <item>
      <title>How to customize email subject in Apache NiFI Putemail processor?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116201#M54988</link>
      <description>&lt;P&gt;I am running Apache NiFI. My use case is to monitor the file transfer process (GetFile to PutHDFS) and send an email whenever their is an error.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 15:16:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116201#M54988</guid>
      <dc:creator>pradhumankumar_</dc:creator>
      <dc:date>2017-02-21T15:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize email subject in Apache NiFI Putemail processor?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116202#M54989</link>
      <description>&lt;P&gt;
	Hi,&lt;/P&gt;&lt;P&gt;
	the PutEmail Processor supports the NIFI expression language for the parameter Subject.&lt;/P&gt;&lt;P&gt;	That means you can access all the attributes of your flow file and all your custom attributes or variables that you defined within the flow.&lt;/P&gt;&lt;P&gt;
	To have a custom subject in your PutEmail processor for the error-handling case, you should connect the PutHDFS (or GetFile or both) processor to the PutEmail Processor for the failure path and configure the PutEmail processor.&lt;/P&gt;&lt;P&gt;
	An example for a custom Subject could be: &lt;/P&gt;&lt;PRE&gt;'Hello from '${hostname}' the file '${filename}' caused an error at '${now}&lt;/PRE&gt;&lt;P&gt;More Examples and some guidelines for the Nifi Expression Language are listed here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html"&gt;https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 16:27:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116202#M54989</guid>
      <dc:creator>pgreiff</dc:creator>
      <dc:date>2017-02-21T16:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize email subject in Apache NiFI Putemail processor?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116203#M54990</link>
      <description>&lt;P&gt;Thanks for your reponse, it helped.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 18:32:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116203#M54990</guid>
      <dc:creator>pradhumankumar_</dc:creator>
      <dc:date>2017-02-21T18:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize email subject in Apache NiFI Putemail processor?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116204#M54991</link>
      <description>&lt;P&gt;Glad that it helped. Could you please klick to accept the above answer, so that others see that this is the solution. Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 18:34:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116204#M54991</guid>
      <dc:creator>pgreiff</dc:creator>
      <dc:date>2017-02-21T18:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize email subject in Apache NiFI Putemail processor?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116205#M54992</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;I already did that. Am I still missing something?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 20:38:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-customize-email-subject-in-Apache-NiFI-Putemail/m-p/116205#M54992</guid>
      <dc:creator>pradhumankumar_</dc:creator>
      <dc:date>2017-02-21T20:38:54Z</dc:date>
    </item>
  </channel>
</rss>

