[
https://issues.apache.org/jira/browse/NIFI-15189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040895#comment-18040895
]
Daniel Stieglitz edited comment on NIFI-15189 at 11/26/25 7:16 PM:
-------------------------------------------------------------------
Closing the ticket as there would be a lot of complexity to support Expression
Language for the script body.
was (Author: JIRAUSER294662):
There would be a lot of complexity to support Expression Language for the
script body.
> ScriptedRecordProcessor should use one property descriptor with
> identifiesExternalResource to specify a file or the body of a script
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-15189
> URL: https://issues.apache.org/jira/browse/NIFI-15189
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> Currently the SCRIPT_FILE and SCRIPT_BODY property descriptors found in
> ScriptingComponentUtils and used in the list of property descriptors in
> ScriptedRecordProcessor use similar language in their descriptions
> {code:java}
> Only one of Script File or Script Body may be used{code}
> It would seem to be simpler to have one property descriptor using
> identifiesExternalResource which would allow for specifying either a file or
> the body of a script.
> This ticket address the need to consolidate the two current properties of
> SCRIPT_FILE and SCRIPT_BODY into one property that uses
> identifiesExternalResource to allow for specifying a file for the script or
> the actual text of the script.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)