<?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 Update Flow Description in NiFi Registry in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Update-Flow-Description-in-NiFi-Registry/m-p/349901#M235810</link>
    <description>&lt;P&gt;Is there any way to update the flow description in the NiFi Registry after the initial creation of the flow that does not require restarting version control?&amp;nbsp; I checked the REST API endpoints as well and didn't see anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to clean up descriptions (or even just correct a typo) without going through a cumbersome export versions, import flow, import versions, delete and re-import PGs process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 17:57:24 GMT</pubDate>
    <dc:creator>kellerj</dc:creator>
    <dc:date>2022-08-10T17:57:24Z</dc:date>
    <item>
      <title>Update Flow Description in NiFi Registry</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Update-Flow-Description-in-NiFi-Registry/m-p/349901#M235810</link>
      <description>&lt;P&gt;Is there any way to update the flow description in the NiFi Registry after the initial creation of the flow that does not require restarting version control?&amp;nbsp; I checked the REST API endpoints as well and didn't see anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to clean up descriptions (or even just correct a typo) without going through a cumbersome export versions, import flow, import versions, delete and re-import PGs process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 17:57:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Update-Flow-Description-in-NiFi-Registry/m-p/349901#M235810</guid>
      <dc:creator>kellerj</dc:creator>
      <dc:date>2022-08-10T17:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Update Flow Description in NiFi Registry</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Update-Flow-Description-in-NiFi-Registry/m-p/349916#M235816</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/97580"&gt;@kellerj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the NiFi-Registry Rest-Api to change the description on an existing version controlled flow.&lt;BR /&gt;&lt;A href="https://nifi.apache.org/docs/nifi-registry-docs/rest-api/index.html#updateFlow" target="_blank"&gt;https://nifi.apache.org/docs/nifi-registry-docs/rest-api/index.html#updateFlow&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X 'PUT' 'https://&amp;lt;nifi-registry-hostname&amp;gt;:&amp;lt;nifi-registry-port&amp;gt;/nifi-registry-api/buckets/&amp;lt;bucket UUID&amp;gt;/flows/&amp;lt;versioned flow UUID&amp;gt;' -H 'Authorization: Bearer &amp;lt;token&amp;gt;' -H 'Content-Type: application/json' --data-raw '{"bucketIdentifier":"&amp;lt;bucket UUID&amp;gt;","description":"new-description","name":"&amp;lt;versioned flow name&amp;gt;","type":"Flow"}' --compressed --insecure&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;My NiFi-Registry is secured and uses a login provider for user authentication.&amp;nbsp; If you are doing the same, you will need to obtain a bearer token for your user who has read/write/delete on the bucket containing the flow you want to modify.&lt;BR /&gt;&lt;BR /&gt;The rest of what you need to make this rest-api call can be obtained via the NiFi-registry's UI for the flow to be modified:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1660164654843.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35140iA574B4C0C1FE5D90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattWho_0-1660164654843.png" alt="MattWho_0-1660164654843.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using above example:&lt;BR /&gt;&amp;lt;versioned flow name&amp;gt; = "test"&lt;BR /&gt;&amp;lt;bucket uuid&amp;gt; = "&lt;SPAN&gt;17ca6981-c4a1-418f-807f-ab0b72a997ff"&lt;BR /&gt;&amp;lt;versioned flow UUID&amp;gt; = "fa88a095-6867-45de-9dba-23e828224d3d"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 20:54:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Update-Flow-Description-in-NiFi-Registry/m-p/349916#M235816</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-08-10T20:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update Flow Description in NiFi Registry</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Update-Flow-Description-in-NiFi-Registry/m-p/349920#M235818</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; I looked, but not in the right place.&amp;nbsp; I skimmed over the bucket API, but didn't look in detail as I assumed (incorrectly) that it was not relevant to updating a flow.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 23:43:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Update-Flow-Description-in-NiFi-Registry/m-p/349920#M235818</guid>
      <dc:creator>kellerj</dc:creator>
      <dc:date>2022-08-10T23:43:25Z</dc:date>
    </item>
  </channel>
</rss>

