We've created a parameter context within Nifi which is allocated to several process groups. We would like to update the value of one parameter within the parameter context. Is there any option to do this via the API?
Asked
Active
Viewed 3,007 times
1 Answers
1
NiFi CLI from nifi-toolkit has commands for interacting with parameters, there is one for set-param:
You could use that, or look at the code to see how it uses the API.
Also, anything you can do from NiFi UI has go through the REST API. So you can always open Chrome Dev Tools, take some action in the UI like updating a parameter, and then look at which calls are made.

Bryan Bende
- 18,320
- 1
- 28
- 39
-
Can you please help with commands or examples on how to update existing parameter context.. the above link doesn't show any commands or I am missing something.. https://nifi.apache.org/docs/nifi-docs/html/toolkit-guide.html also doesn't mention about updating existing parameter contexts. Can you Please help.. – santhosh May 22 '23 at 09:14
-
Never mind. used help to figure it out. $ nifi set-param -h . $nifi set-param -pcid abc -pn
-pv – santhosh May 22 '23 at 09:34-ps