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

evaluateELString not evaluating ContextParameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • 1.21.0, 1.22.0
    • None
    • Core Framework
    • None
    • Linux NiFi 3 nodes cluster - 8 CPU core +32 GB of RAM per node

    Description

      When using Expression Language it was possible to lookup parameters from ContextParameters and variables from VariableRegistry. Examples:

      ${ literal('#{Tenant-Testing-HOST1}'):evaluateELString() }
      ${ literal('${Testvar}'):evaluateELString() }

      Both were working in NiFi 1.18.0. Now with NiFi version 1.21.0 this stopped working for ContextParameters and only lookups of varaibles are working. Please see the attached template with an example flow.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              HennigD2 Dirk Hennig
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: