This is an automated email from the ASF dual-hosted git repository.
mcasters pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/master by this push:
new 0c92334229 Update getvariable.adoc
new c817e6381c Merge pull request #3342 from Mattang-Dan/patch-30
0c92334229 is described below
commit 0c923342292f3adf66adb2fd90d21562270272af
Author: Mattang-Dan <[email protected]>
AuthorDate: Thu Nov 2 11:40:01 2023 -0700
Update getvariable.adoc
---
.../modules/ROOT/pages/pipeline/transforms/getvariable.adoc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/docs/hop-user-manual/modules/ROOT/pages/pipeline/transforms/getvariable.adoc
b/docs/hop-user-manual/modules/ROOT/pages/pipeline/transforms/getvariable.adoc
index 01abaa913d..d82d63b838 100644
---
a/docs/hop-user-manual/modules/ROOT/pages/pipeline/transforms/getvariable.adoc
+++
b/docs/hop-user-manual/modules/ROOT/pages/pipeline/transforms/getvariable.adoc
@@ -29,9 +29,12 @@ under the License.
The Get Variables transform allows you to get the value of a variable and
create field(s) from it or allows you to add values to existing input rows. You
could consider it to be a "Set fields” transform. It can retrieve the value of
a previous variable and/or retrieves previous rows or you can set static values
to a variable or input rows. You only need to use this transform if you need
the variable value in a field.
+
Note that workflow/environment variables are set only once. A pipeline needs
to start to get any new variables. A running or sequential or nested (nested
pipelines are technically the same pipeline) pipeline can't fetch new variable
values. A pipeline is considered started when a pipeline starts for every row
in a pipeline executor.
-You can always refer to variables/parameters using the syntax: ${myVariable},
for example from a previous pipeline.
+
+Refer to parameter/svariables using the syntax: ${myVariable}, for example
from a previous pipeline. If you need to refer to a previous pipeline’s data
row(s) fields, then use a Get rows transform.
+
For example, you can specify:
``${openvar}java.io.tmpdir{closevar}/hop/tempfile.txt`` and it will be expanded
to ``/tmp/hop/tempfile.txt`` on Unix-like systems.