Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
transformations:repeat [2021/06/09 14:29] – [Examples] dmitry | transformations:repeat [2021/06/14 11:45] – [Remarks] craigt |
---|
\\ | \\ |
=====Description===== | =====Description===== |
The //Repeat// action allows for arranging ''DO…WHILE'' and ''DO…UNTIL'' types of loops. It repeatedly calls a module (or another project) until/while its result table is not empty, or empty, depending on the settings.\\ | The //Repeat// action allows for arranging "DO…WHILE" and "DO…UNTIL" types of loops. It repeatedly calls a module (or another project) until/while its result table is not empty, or empty, depending on the settings.\\ |
| |
\\ | \\ |
|Mode|Select the appropriate options for handling the return of results, and the timing of loops. See the Mode settings table, below.| | |Mode|Select the appropriate options for handling the return of results, and the timing of loops. See the Mode settings table, below.| |
|Fail if number of iterations exceeds<sup>*</sup>|Enter a value to represent the maximum number of loops the //Repeat// will perform before failing. This prevents malformed //Repeat// actions from running infinite loops by stopping at a pre-defined point.| | |Fail if number of iterations exceeds<sup>*</sup>|Enter a value to represent the maximum number of loops the //Repeat// will perform before failing. This prevents malformed //Repeat// actions from running infinite loops by stopping at a pre-defined point.| |
|Assign parameters|If values will be passed into the called module/project via parameters, select the parameter name to use,\\ and the value<sup>*</sup> being passed in.| | |Assign parameters|If values will be passed into the called module/project via parameters, select the name(s) of parameter(s) to assign,\\ and enter the value<sup>*</sup> being passed in.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
\\ | \\ |
| |
{{ :transformations:repeat-inputs.png?nolink640 |}} | {{ :transformations:repeat-inputs.png?nolink640 |}} |
| |
| When using the [[transformations:input|Input]] action in the called module, you can use the "Populate automatically" button to import the current dataset from the calling module to use as test data to build the rest of the module with. |
| |
You may need to balance the "Delay..." and "Fail after..." settings so your workflow succeeds or fails within an acceptable period of time. | You may need to balance the "Delay..." and "Fail after..." settings so your workflow succeeds or fails within an acceptable period of time. |
\\ | \\ |
=====See also===== | =====See also===== |
| * [[transformations:input|Input]] |
* [[transformations:iterate|Iterate]] | * [[transformations:iterate|Iterate]] |
* [[https://easymorph.com/learn/iterations.html| Tutorial: Iterations (loops)]] | * [[https://easymorph.com/learn/iterations.html| Tutorial: Iterations (loops)]] |
| |