Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-10179

Add to ReplaceText the possibility to specify the search and replacement values with an attribute or parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.16.3
    • None
    • Core Framework

    Description

      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)

       

      Attachments

        1. image.png
          56 kB
          Andrea Molteni

        Activity

          People

            Unassigned Unassigned
            amoltheni Andrea Molteni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: