<?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: NIFI ExecuteProcess linkage and Consolidated one Email notification in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175544#M137801</link>
    <description>&lt;P&gt;Thanks lot Shu, One more thing , is that possible to catch the output of the ExecuteStreenCommand and add that values in the PutEmail Body ? like in my 4th Script  wanted to count the files and that files count i wanted to send through email &lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2017 13:54:01 GMT</pubDate>
    <dc:creator>gkp_shakeel</dc:creator>
    <dc:date>2017-10-30T13:54:01Z</dc:date>
    <item>
      <title>NIFI ExecuteProcess linkage and Consolidated one Email notification</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175541#M137798</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="41581-nifi-issues.png" style="width: 1192px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19796i02F7EF5809D2F883/image-size/medium?v=v2&amp;amp;px=400" role="button" title="41581-nifi-issues.png" alt="41581-nifi-issues.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="41582-configuration.png" style="width: 798px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19797iC000730286133A50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="41582-configuration.png" alt="41582-configuration.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi All, I have a use case in NIFI.&lt;/P&gt;&lt;P&gt;I have 4 shell script which one I am willing to execute one
by one. Like Script one Complete then  Second
Script and then 3&lt;SUP&gt;rd&lt;/SUP&gt; Script and then 4&lt;SUP&gt;th&lt;/SUP&gt; one. After 4&lt;SUP&gt;th&lt;/SUP&gt;
Script completion I willing to send the notification email. &lt;/P&gt;&lt;P&gt;I have created the workflow using the ExecuteProcess but not
able to link all the ExecuteProcess, also when I am adding the putEmail its sending
continues email to me but  I need one
email after 4&lt;SUP&gt;th&lt;/SUP&gt; Script successful completion.&lt;/P&gt;&lt;P&gt;Issues  : 1) How I can link one process to another &lt;/P&gt;&lt;P style="margin-left: 60px;"&gt;2) How I can send one email after 4th Process completion&lt;/P&gt;&lt;P style="margin-left: 60px;"&gt;Image having flow which i have created and configuration details &lt;/P&gt;&lt;P style="margin-left: 60px;"&gt;If anyone having template could you share pls &lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:09:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175541#M137798</guid>
      <dc:creator>gkp_shakeel</dc:creator>
      <dc:date>2019-08-18T10:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI ExecuteProcess linkage and Consolidated one Email notification</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175542#M137799</link>
      <description>&lt;P&gt;Hi All, can any one help me on that ? &lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 08:46:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175542#M137799</guid>
      <dc:creator>gkp_shakeel</dc:creator>
      <dc:date>2017-10-30T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI ExecuteProcess linkage and Consolidated one Email notification</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175543#M137800</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44443/gkpshakeel.html" nodeid="44443" target="_blank"&gt;@Shakeel Ahmad&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;ExecuteStreamCommand&lt;/STRONG&gt; processor&lt;STRONG&gt; instead&lt;/STRONG&gt; of&lt;STRONG&gt; execute processor&lt;/STRONG&gt; because &lt;STRONG&gt;execute processor won't allow&lt;/STRONG&gt; any &lt;STRONG&gt;incoming connections&lt;/STRONG&gt; but &lt;STRONG&gt;ExecuteStreamCommand &lt;/STRONG&gt;processor&lt;STRONG&gt; accepts incoming connections&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Connect one output stream of &lt;STRONG&gt;ExecuteStreamCommand &lt;/STRONG&gt;processor to another one so that the next &lt;STRONG&gt;ExecuteStreamCommand &lt;/STRONG&gt;processor only triggers when first got completed after completing the 4th process keep put email notification.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;ExecuteStream command configs:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="41610-esc.png" style="width: 643px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19793iF979BC72CC1CA68F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="41610-esc.png" alt="41610-esc.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Flow:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As i have added &lt;STRONG&gt;2 ExecuteStreamCommand&lt;/STRONG&gt; processors &lt;STRONG&gt;you need to add 4&lt;/STRONG&gt; of them then put email and to trigger first &lt;STRONG&gt;E&lt;/STRONG&gt;&lt;STRONG&gt;xecuteStreamCommand &lt;/STRONG&gt;processor use &lt;STRONG&gt;generateFlowFile&lt;/STRONG&gt; processor and &lt;STRONG&gt;schedule&lt;/STRONG&gt; that to run periodically.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="41609-flow.png" style="width: 514px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19794iB2EF0F50AC08BDD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="41609-flow.png" alt="41609-flow.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another way is &lt;/P&gt;&lt;P&gt;instead of using &lt;STRONG&gt;GenerateFlowFile&lt;/STRONG&gt; processor to&lt;STRONG&gt; trigger the flow&lt;/STRONG&gt; you can use&lt;STRONG&gt; execute process&lt;/STRONG&gt; to trigger the flow, then connect the &lt;STRONG&gt;success&lt;/STRONG&gt; relation to &lt;STRONG&gt;executestreamcommand&lt;/STRONG&gt; processor.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Flow:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Executeprocess(success)(1 script)--&amp;gt;ExecuteStreamCommand(output stream)(2 script)--&amp;gt;ExecuteStreamCommand(output stream)(3 script)--&amp;gt;ExecuteStreamCommand(output stream)(4 script)--&amp;gt;putEmail&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="41611-flow.png" style="width: 737px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19795i435FAB0072803738/image-size/medium?v=v2&amp;amp;px=400" role="button" title="41611-flow.png" alt="41611-flow.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you want to trigger these scripts one by one so you can use either of the ways to put an Email after executing 4th script.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:09:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175543#M137800</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T10:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI ExecuteProcess linkage and Consolidated one Email notification</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175544#M137801</link>
      <description>&lt;P&gt;Thanks lot Shu, One more thing , is that possible to catch the output of the ExecuteStreenCommand and add that values in the PutEmail Body ? like in my 4th Script  wanted to count the files and that files count i wanted to send through email &lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:54:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-ExecuteProcess-linkage-and-Consolidated-one-Email/m-p/175544#M137801</guid>
      <dc:creator>gkp_shakeel</dc:creator>
      <dc:date>2017-10-30T13:54:01Z</dc:date>
    </item>
  </channel>
</rss>

