<?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 NiFi: how to fulfill flow with massive of dates in attribute in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-how-to-fulfill-flow-with-massive-of-dates-in-attribute/m-p/297969#M218915</link>
    <description>&lt;P&gt;I want to make several invokeHTTP requests with dates from a date range in its URL.&lt;/P&gt;&lt;P&gt;So I have first date, for example&amp;nbsp;2020-05-01, and end date -&amp;nbsp;2020-05-31.&lt;/P&gt;&lt;P&gt;How automatically create massive: 2020-05-01,&amp;nbsp;2020-05-02, ...,&amp;nbsp;2020-05-31 and put it into URL.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2020 16:25:33 GMT</pubDate>
    <dc:creator>Maria_pl</dc:creator>
    <dc:date>2020-06-12T16:25:33Z</dc:date>
    <item>
      <title>NiFi: how to fulfill flow with massive of dates in attribute</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-how-to-fulfill-flow-with-massive-of-dates-in-attribute/m-p/297969#M218915</link>
      <description>&lt;P&gt;I want to make several invokeHTTP requests with dates from a date range in its URL.&lt;/P&gt;&lt;P&gt;So I have first date, for example&amp;nbsp;2020-05-01, and end date -&amp;nbsp;2020-05-31.&lt;/P&gt;&lt;P&gt;How automatically create massive: 2020-05-01,&amp;nbsp;2020-05-02, ...,&amp;nbsp;2020-05-31 and put it into URL.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 16:25:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-how-to-fulfill-flow-with-massive-of-dates-in-attribute/m-p/297969#M218915</guid>
      <dc:creator>Maria_pl</dc:creator>
      <dc:date>2020-06-12T16:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi: how to fulfill flow with massive of dates in attribute</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-how-to-fulfill-flow-with-massive-of-dates-in-attribute/m-p/297970#M218916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78616"&gt;@Maria_pl&lt;/a&gt;&amp;nbsp;, generally speaking the approach is as follows:&lt;/P&gt;&lt;P&gt;1. Generate a dummy flow file that will trigger (GenerateFlowFile processor)&lt;/P&gt;&lt;P&gt;2. Next step is UpdateAttribute processor that sets the start date and end date as attributes in the flow file&lt;/P&gt;&lt;P&gt;3. ExecuteScript is next. This can be a python script, or whichever language you prefer, that will use the start and end attributes to list out all the dates in between.&lt;/P&gt;&lt;P&gt;4. If your script produces single file output of dates, you can then use SplitText processor to cut each row into its own flow file and from there each file will have its own unique date in your range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 16:48:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-how-to-fulfill-flow-with-massive-of-dates-in-attribute/m-p/297970#M218916</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2020-06-12T16:48:33Z</dc:date>
    </item>
  </channel>
</rss>

