[ 
https://issues.apache.org/jira/browse/NIFI-14873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Fellows updated NIFI-14873:
-------------------------------
    Description: 
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!

 

  was:
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!

 


> 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
>
>
> 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)

Reply via email to