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

GetHTMLElement removes content from resulting flowfiles even when destination is attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.0
    • None
    • Extensions

    Description

      As noted in StackOverflow, GetHTMLElement processors cannot be chained because the success relationship clears the flowfile content even if the destination is an attribute. I propose the logic be changed to the following:

      • Destination = content
      • Replace the flowfile content for the success relationship
      • Maintain the content for original
      • Destination = attribute
      • Maintain the content for success and original
      • Add a property descriptor for the attribute name
      • Name attributes Attribute.1 as in Extract* in the event that multiple elements are matched

      Attachments

        Activity

          People

            John Michaels John Michaels
            alopresto Andy LoPresto
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: