Both sides previous revisionPrevious revisionNext revision | Previous revision |
transformations:repeat [2021/07/17 23:28] – [Examples] craigt | transformations:repeat [2021/07/19 02:04] (current) – [Examples] craigt |
---|
|Append and return all results|Select this to continually append the results from all iterations and return the accumulated results.| | |Append and return all results|Select this to continually append the results from all iterations and return the accumulated results.| |
|**//WHILE result table is empty// loops** || | |**//WHILE result table is empty// loops** || |
|Return the first not empty result|Select to return the first non-empty dataset once the module's (or project's) criteria has been met.| | |Return the first not empty result|Select to return the first non-empty dataset once the module's (or project's) criteria have been met.| |
|Delay between iterations|Check this setting to insert a delay between loops and enter the number of seconds<sup>*</sup> to delay.| | |Delay between iterations|Check this setting to insert a delay between loops and enter the number of seconds<sup>*</sup> to delay.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
\\ | \\ |
=====Examples===== | =====Examples===== |
**Objective:** Set up a process that waits for a file to appear in a "watched" folder before proceeding.\\ | **Example:** Set up a process that waits for a file to appear in a "watched" folder before proceeding.\\ |
| |
**Module 1 ("Main"):** Set up a //Repeat// action to call Module 2 (below).\\ | **Module 1 ("Main"):** Set up a //Repeat// action to call Module 2 (below).\\ |
====Community examples==== | ====Community examples==== |
* [[https://community.easymorph.com/t//2156/1|How to process parent-child data structures]] ([[https://community.easymorph.com/uploads/short-url/zmylfn4Qr0ovzu3e5rybl0LVMNG.morph|Project]]; Module: //Module 1//; Group: //Tab 1//; Table: //Scan all folders//; Action position: //2//) | * [[https://community.easymorph.com/t//2156/1|How to process parent-child data structures]] ([[https://community.easymorph.com/uploads/short-url/zmylfn4Qr0ovzu3e5rybl0LVMNG.morph|Project]]; Module: //Module 1//; Group: //Tab 1//; Table: //Scan all folders//; Action position: //2//) |
* [[https://community.easymorph.com/t//2160/1|How to pull data from web APIs with pagination]] ([[https://community.easymorph.com/uploads/short-url/dvCSpcEDXYZ8aB0B2gtnt7qulTF.morph|Project]]; Module: //Main//; Group: //Group 1//; Table: //Query API with pagination//; Action position: //2//) | * [[https://community.easymorph.com/t//2160/1|How to pull data from web APIs with pagination]] ([[https://community.easymorph.com/uploads/short-url/dvCSpcEDXYZ8aB0B2gtnt7qulTF.morph|Project]]; Module: //Main//; Group: //Group 1//; Table: //Query API with pagination//;\\ Action position: //2//) |
* [[https://community.easymorph.com/t//2186/2|Excel IRR formula]] ([[https://community.easymorph.com/uploads/short-url/r3hO74ebEfwvCgq0YqkKt7bqGM2.morph|Project]]; Module: //IRR_TWO_NEAREST//; Group: //Group 1//; Table: //INPUT//; Action position: //3//) | * [[https://community.easymorph.com/t//2186/2|Excel IRR formula]] ([[https://community.easymorph.com/uploads/short-url/r3hO74ebEfwvCgq0YqkKt7bqGM2.morph|Project]]; Module: //IRR_TWO_NEAREST//; Group: //Group 1//; Table: //INPUT//; Action position: //3//) |
| |