- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Advanced Attribute Update using Parameter Context Reference
- Labels:
-
Apache NiFi
Created ‎07-17-2023 01:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Community,
I can assign an attribute's value using a reference to a parameter context value ( e.g. #{variablle_abc} ).
But when I attempt to do this same thing within the "Advanced" window in an UpdateAttribute processor, it fails. I've verified the Process Group Parameter Context is set.
Anyone know how to make this work in the Advanced window of an UpdateAttribute processor?
Created ‎07-17-2023 11:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I managed to get it working by putting the parameter context reference in quotes and then using an evaluateString() function as shown below.
${#{'Entity Service'}:evaluateELString()}
Created ‎07-17-2023 11:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I managed to get it working by putting the parameter context reference in quotes and then using an evaluateString() function as shown below.
${#{'Entity Service'}:evaluateELString()}
