From 92631d78f1416ee9e799fffffb1c0393c41c2bde Mon Sep 17 00:00:00 2001 From: Andrew Lim Date: Fri, 2 Nov 2018 13:12:05 -0400 Subject: [PATCH 1/2] NIFI-5677 Added note to clarify why modifying/creating variables not local changes in versioned flows --- nifi-docs/src/main/asciidoc/user-guide.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nifi-docs/src/main/asciidoc/user-guide.adoc b/nifi-docs/src/main/asciidoc/user-guide.adoc index c69b771d097d..77441cda0413 100644 --- a/nifi-docs/src/main/asciidoc/user-guide.adoc +++ b/nifi-docs/src/main/asciidoc/user-guide.adoc @@ -1928,7 +1928,9 @@ The following actions are not considered local changes: * modifying sensitive property values * modifying remote process group URLs * updating a processor that was referencing a non-existent controller service to reference an externally available controller service -* modifying variables +* creating or modifying variables + +NOTE: Creating a variable does not trigger a local change because creating a variable on its own has not changed anything about what the flow processes. A component will have to be created or modified that uses the new variable, which will trigger a local change. Modifying a variable does not trigger a local change because variable values are intended to be different in each environment. When a versioned flow is imported, it is assumed there is a one-time operation required to set those variables specific for the given environment. WARNING: Variables do not support sensitive values and will be included when versioning a Process Group. See <> for more information. From 2b52616c8a33d9d7ffd3ff0c53a460a16bcb0bdc Mon Sep 17 00:00:00 2001 From: Andrew Lim Date: Mon, 5 Nov 2018 11:42:45 -0500 Subject: [PATCH 2/2] Update user-guide.adoc --- nifi-docs/src/main/asciidoc/user-guide.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-docs/src/main/asciidoc/user-guide.adoc b/nifi-docs/src/main/asciidoc/user-guide.adoc index 77441cda0413..873b9496b9c4 100644 --- a/nifi-docs/src/main/asciidoc/user-guide.adoc +++ b/nifi-docs/src/main/asciidoc/user-guide.adoc @@ -1928,9 +1928,9 @@ The following actions are not considered local changes: * modifying sensitive property values * modifying remote process group URLs * updating a processor that was referencing a non-existent controller service to reference an externally available controller service -* creating or modifying variables +* creating, modifying or deleting variables -NOTE: Creating a variable does not trigger a local change because creating a variable on its own has not changed anything about what the flow processes. A component will have to be created or modified that uses the new variable, which will trigger a local change. Modifying a variable does not trigger a local change because variable values are intended to be different in each environment. When a versioned flow is imported, it is assumed there is a one-time operation required to set those variables specific for the given environment. +NOTE: Creating a variable does not trigger a local change because creating a variable on its own has not changed anything about what the flow processes. A component will have to be created or modified that uses the new variable, which will trigger a local change. Modifying a variable does not trigger a local change because variable values are intended to be different in each environment. When a versioned flow is imported, it is assumed there is a one-time operation required to set those variables specific for the given environment. Deleting a variable does not trigger a local change because the component that references that variable will need need to be modified, which will trigger a local change. WARNING: Variables do not support sensitive values and will be included when versioning a Process Group. See <> for more information.