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

Mark Payne edited comment on NIFI-8666 at 6/7/21, 3:19 PM:
-----------------------------------------------------------

Unfortunately I cannot seem to get Jira to display the description properly as 
the curly braces appear to cause it trouble. The intent there is not to have 
all of the newly within but to be more of the syntax:
DOLLAR OPEN_CURLY POUND OPEN_CURLY MyParameter CLOSE_CURLY :toUpper() 
CLOSE_CURLY...


was (Author: markap14):
Unfortunately I cannot seem to get Jira to display the description properly as 
the curly braces appear to cause it trouble. The intent there is not to have 
all of the newly within but to be more of the syntax:
DOLLAR OPEN_CURLY POUND {MyParameter}:toUpper() CLOSE_CURLY...

> Parameters cannot be referenced from Expression Language if they have a space 
> in the name
> -----------------------------------------------------------------------------------------
>
>                 Key: NIFI-8666
>                 URL: https://issues.apache.org/jira/browse/NIFI-8666
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.14.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Parameter names are allowed to have spaces in them, but any parameter with a 
> space cannot be referenced from within Expression Language. For example, we 
> cannot use:
> ${#{My Parameter}:toUpper()} or ${ #{'My Parameter'}:toUpper()}
> We should be able to reference the parameter using the single ticks in order 
> to quote the parameter name.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to