[jira] [Commented] (NIFI-5758) Duplicate Variables
[ https://issues.apache.org/jira/browse/NIFI-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693665#comment-16693665 ] Joseph Witt commented on NIFI-5758: --- ...this is a good point. We need to find a good approach here > Duplicate Variables > --- > > Key: NIFI-5758 > URL: https://issues.apache.org/jira/browse/NIFI-5758 > Project: Apache NiFi > Issue Type: Bug > Components: Variable Registry >Affects Versions: 1.7.1 >Reporter: Joseph Rosado >Priority: Major > Attachments: nifi-duplicate-variables.PNG > > > We have a process group with variables defined for the entire flow. However, > the variables are duplicated in each nested process group. Therefore, making > it difficult to manage, and identify issues. (see attached) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (NIFI-5758) Duplicate Variables
[ https://issues.apache.org/jira/browse/NIFI-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693661#comment-16693661 ] Joseph Rosado commented on NIFI-5758: - The problem is when I make a change to the variable at the parent level, those changes are not replicated downstream to embedded process groups. In fact, the embedded process groups will reference it's local variable as per the design; thus overriding the parent. As a result, I need to manually delete all scoped variables from embedded process groups whenever I import a process group from the Registry. Unfortunately, this negates the concept of a "global" variable. Instead, we should have the option to choose whether a variable should be scoped to embedded process groups. > Duplicate Variables > --- > > Key: NIFI-5758 > URL: https://issues.apache.org/jira/browse/NIFI-5758 > Project: Apache NiFi > Issue Type: Bug > Components: Variable Registry >Affects Versions: 1.7.1 >Reporter: Joseph Rosado >Priority: Major > Attachments: nifi-duplicate-variables.PNG > > > We have a process group with variables defined for the entire flow. However, > the variables are duplicated in each nested process group. Therefore, making > it difficult to manage, and identify issues. (see attached) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (NIFI-5758) Duplicate Variables
[ https://issues.apache.org/jira/browse/NIFI-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665326#comment-16665326 ] Pierre Villard commented on NIFI-5758: -- I don't think variables are duplicated, it's just that you can override the value of a variable defined in a process group in embedded process groups. You can have a look here: [https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#variable-scope] Let us know if you still think there is an issue. > Duplicate Variables > --- > > Key: NIFI-5758 > URL: https://issues.apache.org/jira/browse/NIFI-5758 > Project: Apache NiFi > Issue Type: Bug > Components: Variable Registry >Affects Versions: 1.7.1 >Reporter: Joseph Rosado >Priority: Major > Attachments: nifi-duplicate-variables.PNG > > > We have a process group with variables defined for the entire flow. However, > the variables are duplicated in each nested process group. Therefore, making > it difficult to manage, and identify issues. (see attached) -- This message was sent by Atlassian JIRA (v7.6.3#76005)