<?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 - Dynamic attribute in the flow in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Dynamic-attribute-in-the-flow/m-p/368041#M240044</link>
    <description>&lt;P&gt;I have a dynamic attribute requirement.&lt;/P&gt;&lt;P&gt;Current Flow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;1. GenerateFlow --&amp;gt; invokeHttp ( GenerateFlow is scheduled to run every 60 mins )&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;2. invokeHttp --&amp;gt; updateAttribute&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have stTime &amp;amp; endTime to invokeHttp which needs to be changed based on last invoke time.&lt;/P&gt;&lt;P&gt;Lets say, invoking http very first time, stTime = 04-01-2023 00:00 endTime = 04-01-2023 01:00&lt;/P&gt;&lt;P&gt;In the next schedule, it should be,&lt;/P&gt;&lt;P&gt;stTime = 04-01-2023 01:00 endTime = 04-01-2023 02:00&lt;/P&gt;&lt;P&gt;I tried to set attribute in the generate flow with initial value and incrementing using updateAttribute after the invokehttp is done. This value gets overwritten when the next schedule is starting by GenerateFlow.&lt;/P&gt;</description>
    <pubDate>Sun, 09 Apr 2023 16:55:44 GMT</pubDate>
    <dc:creator>udayabaski</dc:creator>
    <dc:date>2023-04-09T16:55:44Z</dc:date>
  </channel>
</rss>

