Can I programmatically get the root uri of a NiFi flow?

219 Views Asked by At

I'm programmatically creating a NiFi flow using the NiFi api.

I created a process group (I'll call it PG) inside the root process group. Inside the PG I want a Remote Process Group pointing to the root.

The Remote Process Group request-payload requires the target uri of the process group it is pointing to (in this case the uri of the root).

Is there a way to get that uri programmatically via the api?

In other words, can I somehow programmatically get the uri of the root?

Thanks in advance

0

There are 0 best solutions below