Brandon Panna created NIFI-9921:
-----------------------------------
Summary: Parameter context referencing components not detecting
UpdateAttribute advanced usage
Key: NIFI-9921
URL: https://issues.apache.org/jira/browse/NIFI-9921
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.16.0
Environment: Centos 7, Standalone NiFi node
Reporter: Brandon Panna
Parameters defined in Parameter Context and used in the UpdateAttribute
Advanced section are not listed in the Parameter Context referencing components
list. No listing is produced by usage in either conditions or actions.
Issue 1.
Reproduce:
# Create two parameters in Parameter Context:
## conditionsTestParam:true
## actionsTestParam:myValue
# Create a rule in UpdateAttribute advanced
## Expression: ${#\{conditionsTestParam}:equals('true')}
## Actions: Att=outputFromAction Value=${#\{actionsTestParam}}
# Run flowfile though processor
# Flowfile attribute now has a new attribute outputFromAction with value
myValue
# Check Parameter Context panel
Expectations:
Referencing Components should list UpdateAttribute processor
A related issue, deleting the parameter doesn't cause the referencing
UpdateAttribute processor to disable.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)