This is an automated email from the ASF dual-hosted git repository.
hansva 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 74e79be4a4 Update repeat.adoc
new d8132585f6 Merge pull request #3494 from Mattang-Dan/patch-67
74e79be4a4 is described below
commit 74e79be4a4451b57212f264f35832f9d4fc92ee9
Author: Mattang-Dan <[email protected]>
AuthorDate: Tue Dec 12 07:40:07 2023 -0800
Update repeat.adoc
---
.../modules/ROOT/pages/workflow/actions/repeat.adoc | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git
a/docs/hop-user-manual/modules/ROOT/pages/workflow/actions/repeat.adoc
b/docs/hop-user-manual/modules/ROOT/pages/workflow/actions/repeat.adoc
index 357726e864..a401faf517 100644
--- a/docs/hop-user-manual/modules/ROOT/pages/workflow/actions/repeat.adoc
+++ b/docs/hop-user-manual/modules/ROOT/pages/workflow/actions/repeat.adoc
@@ -35,9 +35,8 @@ In addition to the workflow and pipeline executor transforms,
the Repeat and End
TIP: If you use a variable name for the file to repeat, ensure a default
parameter is set with a file extension so Hop knows if it is a pipeline or a
workflow file.
== Example
-The samples project example: ``/loops/repeat-action.hwf`` and
``child-check-set-counter-value.hpl`` runs a pipeline that increments a
`{openvar}COUNTER{closevar}` variable with each run. If the variable values
exceeds 10, a variable `{openvar}END_LOOP{closevar}` is set. This variable is
detected by the Repeat action, and the loop stops. Because the Variable scope
of `COUNTER` in the workflow is set to “Valid in the current workflow”, when
you set `COUNTER` in the child the new value goes [...]
-
-
+The samples project example: ``/loops/repeat-action.hwf`` and
``child-check-set-counter-value.hpl`` runs a pipeline that increments a
`{openvar}COUNTER{closevar}` variable with each run. If the variable values
exceeds 10, a variable `{openvar}END_LOOP{closevar}` is set.
+This variable is detected by the Repeat action, and the loop stops. Because
the Variable scope of `COUNTER` in the workflow is set to “Valid in the current
workflow”, when you set `COUNTER` in the child the new value goes upstream.
== Options
@@ -56,7 +55,7 @@ The samples project example: ``/loops/repeat-action.hwf`` and
``child-check-set-
|Stop repeating when this variable is set|Specify the variable you want to be
checked before stopping the repeat loop
-|Optional variable value| Only stop repeating when the above variable is set
and contains this exact value
+|Optional variable value| Only stop repeating when the above variable is set
and contains this exact value. If you stop the Repeat downstream with a
variable value that was set via scope: valid in the Java Virtual Machine, you
will have to reset the variable manually in the same way because resetting the
stop variable in the Repeat's Parameters/Variables tab will not work.
|Delay variable in seconds| Allow file execution to repeat using specified
value in seconds