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

UpdateAttribute does not have a failure relationship for handling EL failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.2.1
    • None
    • Core Framework, Extensions
    • None

    Description

      UpdateAttribute's genesis predates expression language, and as originally created would have made failure improbable (impossible?) in context of typical processing. As a result, when EL was introduced, there was also a means wherein the processor could fail. Currently, there is no failure relationship. As a result, the only way to remove files that are failing due to an EL issues and placed back onto the queue is through an expiration on the incoming connection. One particular instance is that of formatting a bad date input. Template showing example to follow.

      It could be the case this is a deficiency in just this particular EL function, but should EL become an extension point, it is entirely conceivable that failure cases become an occurrence that needs to be handled.

      Attachments

        1. NIFI-813_Example.xml
          8 kB
          Aldrin Piri

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aldrin Aldrin Piri
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: