You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2023/08/07 19:26:00 UTC

[jira] [Commented] (NIFI-11763) evaluateELString not evaluating ContextParameters

    [ https://issues.apache.org/jira/browse/NIFI-11763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751785#comment-17751785 ] 

David Handermann commented on NIFI-11763:
-----------------------------------------

One additional note regarding alternatives, the various Lookup Services sound like they could provide a more flexible solution. Implementations include database-backed and file-backed services, which could accommodate more dynamic lookup. Although not as convenient as dynamically referenced Parameter Context names, this might provide one alternative solution. I will mark this issue as resolved for now.

> evaluateELString not evaluating ContextParameters
> -------------------------------------------------
>
>                 Key: NIFI-11763
>                 URL: https://issues.apache.org/jira/browse/NIFI-11763
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.21.0, 1.22.0
>         Environment: Linux NiFi 3 nodes cluster - 8 CPU core +32 GB of RAM per node
>            Reporter: Dirk Hennig
>            Assignee: David Handermann
>            Priority: Major
>         Attachments: Complex_UpdateAttribute_Test.json
>
>
> When using Expression Language it was possible to lookup parameters from ContextParameters and variables from VariableRegistry. Examples:
> ${ literal('#\{Tenant-Testing-HOST1}'):evaluateELString() }
> ${ literal('${Testvar}'):evaluateELString() }
> Both were working in NiFi 1.18.0. Now with NiFi version 1.21.0 this stopped working for ContextParameters and only lookups of varaibles are working. Please see the attached template with an example flow.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)