<?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: How can find a nifi process group id by Nifi rest api in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189232#M151325</link>
    <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/23512-process-group-id.png"&gt;process-group-id.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you select a processor group, the "Operate Palette" is populated with the process-group id. I've highlighted the location in the attached png.&lt;/P&gt;,&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/23511-process-group-id.png"&gt;process-group-id.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you clickon a process-group, the "Operate Palette" will populate the process-group id. I've highlighted it in the attached png.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2017 03:01:42 GMT</pubDate>
    <dc:creator>kccensus2017</dc:creator>
    <dc:date>2017-08-10T03:01:42Z</dc:date>
    <item>
      <title>How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189230#M151323</link>
      <description>&lt;P&gt;I have a project that try to connect nifi-api and import-export templates programatically. I can upload and delete templates succesfully but when i tried to delete related connections and controller services i realise that i don't have target process group id. &lt;/P&gt;&lt;P&gt;I need make some belowed calls:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;/process-groups/{id}/controller-services&lt;/LI&gt;&lt;LI&gt;/process-groups/{id}/connections&lt;/LI&gt;&lt;LI&gt;/flow/controller/controller-services&lt;/LI&gt;&lt;LI&gt;/process-groups/{id} (delete)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and some other calls.&lt;/P&gt;&lt;P&gt;I have just xml template at first and i dont know how i can find process group {id}.&lt;/P&gt;&lt;P&gt;Any idea please?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 22:28:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189230#M151323</guid>
      <dc:creator>nezirman</dc:creator>
      <dc:date>2017-07-19T22:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189231#M151324</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/23266/nezirman.html" nodeid="23266"&gt;@nzr ytmn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is it not in the information returned when you call the root?  Something along the lines of: &lt;A href="http://127.0.0.1:19090/nifi-api/flow/process-groups/root/status?recursive=true"&gt;http://127.0.0.1:19090/nifi-api/flow/process-groups/root/status?recursive=true&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 00:31:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189231#M151324</guid>
      <dc:creator>ssahi</dc:creator>
      <dc:date>2017-08-10T00:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189232#M151325</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/23512-process-group-id.png"&gt;process-group-id.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you select a processor group, the "Operate Palette" is populated with the process-group id. I've highlighted the location in the attached png.&lt;/P&gt;,&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/23511-process-group-id.png"&gt;process-group-id.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you clickon a process-group, the "Operate Palette" will populate the process-group id. I've highlighted it in the attached png.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 03:01:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189232#M151325</guid>
      <dc:creator>kccensus2017</dc:creator>
      <dc:date>2017-08-10T03:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189233#M151326</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26252/kccensus2017.html" nodeid="26252"&gt;@khadijah celestine&lt;/A&gt; i mean find a process group id of a template programmatically with nifi api requests.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 18:19:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189233#M151326</guid>
      <dc:creator>nezirman</dc:creator>
      <dc:date>2017-08-10T18:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189234#M151327</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12636/ssahi.html" nodeid="12636"&gt;@Sonu Sahi&lt;/A&gt; thanks for information, but still i am not sure how i can relate my template with process groups. I can use name of template file and compare with name of process group; but i am not sure this is good idea.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 18:32:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189234#M151327</guid>
      <dc:creator>nezirman</dc:creator>
      <dc:date>2017-08-10T18:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189235#M151328</link>
      <description>&lt;P&gt;hi &lt;A rel="user" href="https://community.cloudera.com/users/23266/nezirman.html" nodeid="23266"&gt;@nzr ytmn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you are creating a process group, you usually provide a name for it. In the API results that come back from the /process-groups/root/ call, you could look for your name, and that would provide you with the process group ID associated with it.  I just created a process group in NiFi and named it "TestTemplate".  I then uploaded a template from my hard drive into the process group, and made the API call.  The API results show this snippet:&lt;/P&gt;&lt;P&gt;{"id":"e6318a1e-015c-1000-ffff-ffffe7e2554b","name":"TestTemplate", .... }&lt;/P&gt;&lt;P&gt;As extra validation, if I go to the NiFi UI, I can see my process group and validate that the ID matches.  Therefore I think you can use the API call I suggested above if I've understood your scenario correctly.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/23525-screen-shot-2017-08-10-at-94635-am.png"&gt;screen-shot-2017-08-10-at-94635-am.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 22:48:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/189235#M151328</guid>
      <dc:creator>ssahi</dc:creator>
      <dc:date>2017-08-10T22:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/296669#M218345</link>
      <description>&lt;P&gt;This will work&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://localhost:8080/nifi-api/process-groups/root/process-groups" target="_blank"&gt;https://localhost:8080/nifi-api/process-groups/root/process-groups&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will print all the groups found in the main canvas&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 23:13:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/296669#M218345</guid>
      <dc:creator>nifi_pista</dc:creator>
      <dc:date>2020-05-26T23:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/296670#M218346</link>
      <description>&lt;P&gt;Use Case 1&lt;/P&gt;&lt;P&gt;How to get all the groups in the main canvas programmatically?&lt;/P&gt;&lt;P&gt;Answer:&lt;/P&gt;&lt;P&gt;url="https://localhost:8080/nifi-api/"&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;content_type=&lt;/SPAN&gt;&lt;SPAN&gt;"Content-Type: application/json"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;end_point=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://slhdfxd001.info53.com:9091/nifi-api/process-groups/root/process-groups" target="_blank" rel="noopener"&gt;process-groups/root/process-groups&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;curl -k &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;${url}${end_point}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; -H &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;${content_type}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; -H &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;${bearer}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Use Case 2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How to get the groups after finding the root and it's child groups ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;For example&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;From the Root --&amp;gt; Karthik Playground ==&amp;gt; Csv_2_Kafka,&amp;nbsp; JSON_2_KAFKA&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Karthik Playground consists of 2 process group csv_2_kafka and json_2_kafka&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Root. (uuid "aaaa-bbbb"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; ==&amp;gt; Karthik Playground.&amp;nbsp; (uuid "cccc-dddd")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;==&amp;gt; csv_2_kafka.&amp;nbsp; (uid "eeee-fff")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;==&amp;gt; json_2_kafka.&amp;nbsp; (uid "gggg-hhhh")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; From the use case 1, we get all the UUid under Component for all the process groups in root.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; Get the uuid for karthik playground and pass like this&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;url="https://localhost:8080/nifi-api/"&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;content_type=&lt;/SPAN&gt;&lt;SPAN&gt;"Content-Type: application/json"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;end_point=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://slhdfxd001.info53.com:9091/nifi-api/process-groups/root/process-groups" target="_blank" rel="noopener"&gt;process-groups/cccc-dddd/process-groups&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;curl -k &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;${url}${end_point}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; -H &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;${content_type}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; -H &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;${bearer}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;This will fetch csv_2_kafka and json_2_kafka&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Do the same process to get the information from csv_2_kafka and json_2_kafka&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 May 2020 23:39:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/296670#M218346</guid>
      <dc:creator>nifi_pista</dc:creator>
      <dc:date>2020-05-26T23:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/348013#M235303</link>
      <description>&lt;P&gt;Is there a single rest api call to get all process groups across all canvases?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 00:29:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/348013#M235303</guid>
      <dc:creator>Aksh__a__y</dc:creator>
      <dc:date>2022-07-19T00:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can find a nifi process group id by Nifi rest api</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/348014#M235304</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98206"&gt;@nifiz&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/58426"&gt;@ssahi&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/59430"&gt;@kccensus2017&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 00:30:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-find-a-nifi-process-group-id-by-Nifi-rest-api/m-p/348014#M235304</guid>
      <dc:creator>Aksh__a__y</dc:creator>
      <dc:date>2022-07-19T00:30:04Z</dc:date>
    </item>
  </channel>
</rss>

