<?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 Re: Want to use Global variable which can replace emailIDs for multiple flows. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Want-to-use-Global-variable-which-can-replace-emailIDs-for/m-p/169017#M57722</link>
    <description>&lt;P&gt;Thank you Very much &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;. It worked for me. &lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2017 22:34:14 GMT</pubDate>
    <dc:creator>dmdeepakmittal1</dc:creator>
    <dc:date>2017-03-31T22:34:14Z</dc:date>
    <item>
      <title>Want to use Global variable which can replace emailIDs for multiple flows.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Want-to-use-Global-variable-which-can-replace-emailIDs-for/m-p/169015#M57720</link>
      <description>&lt;P&gt;Hi All, I am using multiple process groups each one having separate data flows. I want to use PUTEMAIL processor to send email to appropriate people in case of flow failure. Now I want to set a global variable which will hold a list of email id's to whom we need to send flow failure detail. This variable I want to use for "To" field for PUTEMAIL processor. So that "To" field will be replaced with the list of emailIDs. Here it will be my benefit that in future if any emailid need to change then we no need to update all the PUTEMAIL processor. Instead we will do modification for global variable and it will reflect for all the flows automatically. Please suggest on this.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:57:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Want-to-use-Global-variable-which-can-replace-emailIDs-for/m-p/169015#M57720</guid>
      <dc:creator>dmdeepakmittal1</dc:creator>
      <dc:date>2017-03-22T12:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Want to use Global variable which can replace emailIDs for multiple flows.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Want-to-use-Global-variable-which-can-replace-emailIDs-for/m-p/169016#M57721</link>
      <description>&lt;P&gt;You can define a variable in bootstrap.conf like java.arg.15=-Demails.to=address1,address2,address3 and then your PutEmail processors reference ${emails.to} for the to address.&lt;/P&gt;&lt;P&gt;Alternatively, you can also use the variable registry feature. In nifi.properties:&lt;/P&gt;&lt;P&gt;# external properties files for variable registry
# supports a comma delimited list of file locations
nifi.variable.registry.properties=&lt;/P&gt;&lt;P&gt;You could specify a properties file here that had a property:&lt;/P&gt;&lt;P&gt;emails.to=address1,address2,address3&lt;/P&gt;&lt;P&gt;And then reference it the same as ${emails.to}.&lt;/P&gt;&lt;P&gt;In either case a restart of NiFi is required to pick up changes.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 20:14:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Want-to-use-Global-variable-which-can-replace-emailIDs-for/m-p/169016#M57721</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2017-03-22T20:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Want to use Global variable which can replace emailIDs for multiple flows.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Want-to-use-Global-variable-which-can-replace-emailIDs-for/m-p/169017#M57722</link>
      <description>&lt;P&gt;Thank you Very much &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;. It worked for me. &lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 22:34:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Want-to-use-Global-variable-which-can-replace-emailIDs-for/m-p/169017#M57722</guid>
      <dc:creator>dmdeepakmittal1</dc:creator>
      <dc:date>2017-03-31T22:34:14Z</dc:date>
    </item>
  </channel>
</rss>

