[
https://issues.apache.org/jira/browse/NIFI-10179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Molteni updated NIFI-10179:
----------------------------------
Priority: Major (was: Minor)
> Add to ReplaceText the possibility to specify the search and replacement
> values with an attribute or parameter
> --------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-10179
> URL: https://issues.apache.org/jira/browse/NIFI-10179
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 1.16.3
> Reporter: Andrea Molteni
> Priority: Major
> Labels: improvement, replace
> Attachments: image.png
>
>
> Actually the ReplaceText processor can be programmed with a replacement
> strategy of kind : Regex Replace. This means that the properties Replacement
> value and replace value can host some EL attribute or parameters. The regex
> itself will not be in the attribute, but it is intended that the user wants
> to use the attribute as some part of it.
> eg ov value supported value: (.\{${mynumber}})(.*)
> but if i prepare the regex search and replacement value in a dedicated
> attribute of the flowfile then it is not possible to set the property to the
> attribute content (see attached image)
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)