<?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: Wait for a Flowfile to be picked only after the previous flowfile has been processed completely in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375938#M242710</link>
    <description>&lt;P&gt;Update :&lt;BR /&gt;This is working as I hoped for&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scoutjohn_0-1693805260874.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38376i7E1796080FFDB3C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_0-1693805260874.png" alt="scoutjohn_0-1693805260874.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="scoutjohn_2-1693805976120.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38378iB9BEFDBD151329E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_2-1693805976120.png" alt="scoutjohn_2-1693805976120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scoutjohn_1-1693805306230.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38377iB0AEE951854327F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_1-1693805306230.png" alt="scoutjohn_1-1693805306230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With this configuration the FileProcessor group will take the next flowfile&amp;nbsp; only&amp;nbsp; after completely processing the flowfile that is inside the group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/57059"&gt;@pvillard&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 05:42:11 GMT</pubDate>
    <dc:creator>scoutjohn</dc:creator>
    <dc:date>2023-09-04T05:42:11Z</dc:date>
    <item>
      <title>Wait for a Flowfile to be picked only after the previous flowfile has been processed completely</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375821#M242673</link>
      <description>&lt;P&gt;I have a flowfile that is a list of files,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scoutjohn_0-1693473889872.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38328iAD24D06257ADEA30/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_0-1693473889872.png" alt="scoutjohn_0-1693473889872.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;that gets split into individual flowfiles (10 in this case)&lt;BR /&gt;&lt;BR /&gt;I am using FetchSFTP to fetch the file from a sftp location, the content of this fetched file is then split and is processed and stored.&lt;BR /&gt;In this example: I want to start processing ep.txt only after i have processed bulk.txt after that names.txt and so on.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I was referring to these links:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://pierrevillard.com/2018/06/27/nifi-workflow-monitoring-wait-notify-pattern-with-split-and-merge/" target="_blank"&gt;NiFi workflow monitoring – Wait/Notify pattern with split and merge – Pierre Villard&lt;/A&gt;&lt;BR /&gt;and&amp;nbsp;&lt;BR /&gt;&lt;A href="https://ijokarumawak.github.io/nifi/2017/02/02/nifi-notify-batch/" target="_blank"&gt;How to wait for all fragments to be processed, then do something? (ijokarumawak.github.io)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I was able to implement something like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scoutjohn_1-1693474216619.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38329iCF53C971C79FA96C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_1-1693474216619.png" alt="scoutjohn_1-1693474216619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;but this is not what I was looking for, I want to implement a wait before fetchSFTP&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scoutjohn_2-1693474309531.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38330i5633454784200D4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_2-1693474309531.png" alt="scoutjohn_2-1693474309531.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried release signal identifier with filename , but that was stopping any flowfile from moving forward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise, thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:35:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375821#M242673</guid>
      <dc:creator>scoutjohn</dc:creator>
      <dc:date>2023-08-31T09:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for a Flowfile to be picked only after the previous flowfile has been processed completely</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375830#M242677</link>
      <description>&lt;P&gt;You can evaluate the following for better approach&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Batch use case with ListSFTP/FetchSFTP &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2 . ExecuteStateless processor&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 12:01:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375830#M242677</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2023-08-31T12:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for a Flowfile to be picked only after the previous flowfile has been processed completely</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375887#M242693</link>
      <description>&lt;P&gt;Thanks for the reply, I cannot use list sftp as it does not allow incoming request hence I have created an execute stream command processor that fetches the list.&lt;/P&gt;&lt;P&gt;I will then feed&amp;nbsp; these list into fetch sftp and then process these files.&lt;/P&gt;&lt;P&gt;I want to fetch these file one by one only after the previous file has processed completely. So far with my implementation the files are picked almost immediately and processed, I cannot use the control rate processor in between because each file has different set of data and have varying processing time&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 15:57:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375887#M242693</guid>
      <dc:creator>scoutjohn</dc:creator>
      <dc:date>2023-08-31T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for a Flowfile to be picked only after the previous flowfile has been processed completely</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375890#M242696</link>
      <description>&lt;P&gt;Another way to consider for processing one file at a time:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=kvJx8vQnCNE&amp;amp;lc=UgzHBAI-4X3vn_dWSHV4AaABAg.9ssoo7vzq1d9ssqH-c7ttL" target="_blank"&gt;https://www.youtube.com/watch?v=kvJx8vQnCNE&amp;amp;lc=UgzHBAI-4X3vn_dWSHV4AaABAg.9ssoo7vzq1d9ssqH-c7ttL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 16:15:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375890#M242696</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2023-08-31T16:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for a Flowfile to be picked only after the previous flowfile has been processed completely</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375933#M242708</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;: Thank you for this. This could be what I am looking for, Will try with this and update here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 04:36:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375933#M242708</guid>
      <dc:creator>scoutjohn</dc:creator>
      <dc:date>2023-09-04T04:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for a Flowfile to be picked only after the previous flowfile has been processed completely</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375938#M242710</link>
      <description>&lt;P&gt;Update :&lt;BR /&gt;This is working as I hoped for&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scoutjohn_0-1693805260874.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38376i7E1796080FFDB3C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_0-1693805260874.png" alt="scoutjohn_0-1693805260874.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="scoutjohn_2-1693805976120.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38378iB9BEFDBD151329E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_2-1693805976120.png" alt="scoutjohn_2-1693805976120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scoutjohn_1-1693805306230.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38377iB0AEE951854327F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scoutjohn_1-1693805306230.png" alt="scoutjohn_1-1693805306230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With this configuration the FileProcessor group will take the next flowfile&amp;nbsp; only&amp;nbsp; after completely processing the flowfile that is inside the group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/57059"&gt;@pvillard&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 05:42:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wait-for-a-Flowfile-to-be-picked-only-after-the-previous/m-p/375938#M242710</guid>
      <dc:creator>scoutjohn</dc:creator>
      <dc:date>2023-09-04T05:42:11Z</dc:date>
    </item>
  </channel>
</rss>

