Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Apache Nifi: changing the value of a variable from command line
Labels:
- Labels:
-
Apache NiFi
New Contributor
Created ‎09-14-2021 06:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi guys,
Is there any ways to changing the value of a variable from command line in Apache Nifi:
Many thanks
1 REPLY 1
Contributor
Created ‎03-25-2022 05:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Luti
yes sure you can use NiFi toolkit for this.
nifi pg-set-var -pgid b1f05b41-017f-1000-0000-00005ac6776e --varValue "Test2" --varName "MyVar1"
If the variable does not exist, it will create. If the variable exists, you will update the value.
I hope this will help you.
