<?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: Can we fire a NIFI rest-api query to get the process-group or any other element ID by entering the name of the element ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201135#M74270</link>
    <description>&lt;P&gt;Thanks for your answer @&lt;A href="https://community.hortonworks.com/users/18929/yaswanthmuppireddy.html"&gt;Shu&lt;/A&gt; ! It is very helpful.&lt;/P&gt;&lt;P&gt;Is there a way to do wildcard search using this?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2019 07:31:37 GMT</pubDate>
    <dc:creator>aadhi007</dc:creator>
    <dc:date>2019-02-14T07:31:37Z</dc:date>
    <item>
      <title>Can we fire a NIFI rest-api query to get the process-group or any other element ID by entering the name of the element ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201130#M74265</link>
      <description>&lt;P&gt;For example I want to get the ID of the process-gorup which is at root level by asking the following query &lt;A href="http://localhost:9090/nifi-api/process-groups/root/process-groups?name=Process-group1" target="_blank"&gt;http://localhost:9090/nifi-api/process-groups/root/process-groups?name=Process-group1&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The problem I am facing here is this results as all the processor group that are available at root level.But I'm only interested in the particular process-group.How can I get that information only not about all processor group?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 13:58:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201130#M74265</guid>
      <dc:creator>damineesao93</dc:creator>
      <dc:date>2018-02-05T13:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can we fire a NIFI rest-api query to get the process-group or any other element ID by entering the name of the element ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201131#M74266</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/63207/damineesao93.html" nodeid="63207"&gt;@Daminee Sao&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;By using restApi search url you can get the id of the process group&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;RestApi URL:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -i -X GET &lt;A href="http://localhost:9090/nifi-api/flow/search-results?q=&amp;lt;name(or)id&amp;gt;" target="_blank"&gt;http://localhost:9090/nifi-api/flow/search-results?q=&amp;lt;name(or)id&amp;gt;&lt;/A&gt;;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Example:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm having &lt;STRONG&gt;flowfiledrop&lt;/STRONG&gt; as the name of&lt;B&gt; process group&lt;/B&gt; in my &lt;B&gt;NiFi&lt;/B&gt; and to get the id of the&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;flowfiledrop &lt;/STRONG&gt;process group ,&lt;/P&gt;&lt;P&gt;RestApi url would be&lt;/P&gt;&lt;PRE&gt;curl -i -X GET &lt;A href="http://localhost:9090/nifi-api/flow/search-results?q=flowfiledrop" target="_blank"&gt;http://localhost:9090/nifi-api/flow/search-results?q=flowfiledrop&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;As you can see in i've mentioned &lt;STRONG&gt;flowfiledrop&lt;/STRONG&gt; process group name in q parameter&lt;/P&gt;&lt;PRE&gt;$ curl -i -X GET &lt;A href="http://localhost:9090/nifi-api/flow/search-results?q=flowfiledrop" target="_blank"&gt;http://localhost:9090/nifi-api/flow/search-results?q=flowfiledrop&lt;/A&gt;
HTTP/1.1 200 OK
Date: Mon, 05 Feb 2018 18:10:03 GMT
X-Frame-Options: SAMEORIGIN
Cache-Control: private, no-cache, no-store, no-transform
Content-Type: application/json
Vary: Accept-Encoding
Vary: User-Agent
Content-Length: 336
Server: Jetty(9.4.3.v20170317)&lt;/PRE&gt;&lt;PRE&gt;{"searchResultsDTO":{"processorResults":[],"connectionResults":[],"processGroupResults":[{"id":"619a2801-0161-1000-a4c2-95e4430e977f","groupId":"3b738dba-0161-1000-c808-f7d38f21fcab","name":"flowfiledrop","matches":["Name: flowfiledrop"]}],"inputPortResults":[],"outputPortResults":[],"remoteProcessGroupResults":[],"funnelResults":[]}}&lt;/PRE&gt;&lt;P&gt;the id of the &lt;STRONG&gt;flowfile drop process group&lt;/STRONG&gt; is &lt;STRONG&gt;619a2801-0161-1000-a4c2-95e4430e977f.&lt;/STRONG&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If the Answer helped to resolve your issue, &lt;STRONG&gt;Click on Accept button below to accept the answer&lt;/STRONG&gt;, That would be great help to Community users to find solution quickly for these kind of errors.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 02:18:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201131#M74266</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-02-06T02:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can we fire a NIFI rest-api query to get the process-group or any other element ID by entering the name of the element ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201132#M74267</link>
      <description>&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 13:44:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201132#M74267</guid>
      <dc:creator>damineesao93</dc:creator>
      <dc:date>2018-02-06T13:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can we fire a NIFI rest-api query to get the process-group or any other element ID by entering the name of the element ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201133#M74268</link>
      <description>&lt;P&gt;Very helpful! Thanks &lt;A href="https://community.hortonworks.com/questions/167610/can-we-fire-a-nifi-rest-api-query-to-get-the-proce.html#"&gt;@Shu&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Also, be sure to put %20 in place of spaces in the search query. &lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 02:44:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201133#M74268</guid>
      <dc:creator>krherschelman</dc:creator>
      <dc:date>2018-11-17T02:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can we fire a NIFI rest-api query to get the process-group or any other element ID by entering the name of the element ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201134#M74269</link>
      <description>&lt;P&gt;Thanks for your answer @&lt;A href="https://community.hortonworks.com/users/18929/yaswanthmuppireddy.html"&gt;Shu&lt;/A&gt; ! It is very helpful.&lt;/P&gt;&lt;P&gt;Is there a way to do wildcard search using this?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 07:30:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201134#M74269</guid>
      <dc:creator>aadhi007</dc:creator>
      <dc:date>2019-02-14T07:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can we fire a NIFI rest-api query to get the process-group or any other element ID by entering the name of the element ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201135#M74270</link>
      <description>&lt;P&gt;Thanks for your answer @&lt;A href="https://community.hortonworks.com/users/18929/yaswanthmuppireddy.html"&gt;Shu&lt;/A&gt; ! It is very helpful.&lt;/P&gt;&lt;P&gt;Is there a way to do wildcard search using this?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 07:31:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-we-fire-a-NIFI-rest-api-query-to-get-the-process-group/m-p/201135#M74270</guid>
      <dc:creator>aadhi007</dc:creator>
      <dc:date>2019-02-14T07:31:37Z</dc:date>
    </item>
  </channel>
</rss>

