You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/08/19 16:54:00 UTC

[jira] [Commented] (NIFI-14873) Support unquoted parameter references with spaces in their names within expression language

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

ASF subversion and git services commented on NIFI-14873:
--------------------------------------------------------

Commit 1191b9254fbbc6590bbe2c150b2478ef193cfce9 in nifi's branch refs/heads/main from Rob Fellows
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1191b9254f ]

NIFI-14873 - Support unquoted parameter references with spaces in their names within expression language

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #10215.


> Support unquoted parameter references with spaces in their names within expression language
> -------------------------------------------------------------------------------------------
>
>                 Key: NIFI-14873
>                 URL: https://issues.apache.org/jira/browse/NIFI-14873
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Rob Fellows
>            Assignee: Rob Fellows
>            Priority: Major
>         Attachments: Screenshot 2025-08-18 at 12.11.38.png, image-2025-08-18-12-13-23-099.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> There is a discrepancy between how parameters are referenced when on their own versus when included as part of expression language.
> If you have a parameter named "Date Format", if you just reference it on its own, you can just reference it as {{{}#\{Date Format}}}. No need to quote it.
> However, to reference that same parameter from within an expression
> {{{}${now():format(#\{Date Format}){}}}}
> you need to quote it for it to be parsed properly. If you don't quote it, the processor will be invalid with this displayed:
> !image-2025-08-18-12-13-23-099.png|width=573,height=131!
>  



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