User Tools

Site Tools


transformations:call

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
transformations:call [2021/06/14 12:10] craigttransformations:call [2021/07/18 00:54] (current) – [See also] craigt
Line 5: Line 5:
 \\  \\ 
 =====Description===== =====Description=====
-This action runs another module or project once. The input dataset of the //Call// action can passed into the called module (project). In this case, the called module or project should use [[transformations:input|Input]] action in order to receive the dataset.+This action runs another module or project once. The input dataset of the //Call// action can be passed into the called module (project). In this case, the called module or project should use [[transformations:input|Input]] action in order to receive the dataset.
  
 Depending on action settings, the result table of the called module (project) may or may not be returned to the calling project. Depending on action settings, the result table of the called module (project) may or may not be returned to the calling project.
Line 14: Line 14:
   * Custom re-usable actions.   * Custom re-usable actions.
   * Fail-resistant workflows.   * Fail-resistant workflows.
- 
  
 \\  \\ 
Line 27: Line 26:
 \\  \\ 
 =====Error recovery===== =====Error recovery=====
-When the //Call// action works in the //Capture errors and continue// mode it can be used for error recovery. In this mode, if an error occurs in the called module (or project), workflow execution won't stop. Instead, the "Call" action will capture the error and return a dataset with two columns "Error description" and "Error source", and workflow execution will continue. By checking if the resultant dataset (with error descriptions) is empty or not, it's possible to identify if the called module failed or notand execute recovery actions if a failure occurred.+When the //Call// action works in the //Capture errors and continue// mode it can be used for error recovery. In this mode, if an error occurs in the called module (or project), workflow execution won't stop. Instead, the "Call" action will capture the error and return a dataset with two columns "Error description" and "Error source", and workflow execution will continue. By checking if the resultant dataset (with error descriptions) is empty or not, it's possible to identify if the called module failed or not and execute recovery actions if a failure occurred.
  
 \\  \\ 
Line 57: Line 56:
 {{  transformations:call_action_img4.png?550  }} {{  transformations:call_action_img4.png?550  }}
  
 +\\ 
 +====Community examples====
 +  * [[https://community.easymorph.com/t//1279/4|Example: Constructing JSON]] ([[https://community.easymorph.com/uploads/short-url/m063pNiVTAgev8a7h7z93mlXbAU.morph|Project]]; Module: //Main//; Group: //Tab 1//; Table: //entity//; Action position: //7//)
 +  * [[https://community.easymorph.com/t//1498/2|Stop task when table is empty, otherwise continue processing]] ([[https://community.easymorph.com/uploads/short-url/ey91tGwHwTuRKhT6oaGNCsXQbH6.morph|Project]]; Module: //Entry//; Group: //Tab 1//; Table: //Table 1//; Action position: //1//)
 +  * [[https://community.easymorph.com/t//1837/4|Joining different pairs of value equivalences into “global equivalences”]] ([[https://community.easymorph.com/uploads/short-url/1TpBXIjf6r4auDHlOBejKh2rSTw.morph|Project]]; Module: //Main//; Group: //Tab 1//; Table: //Grouping//;\\ Action position: //2//)
 +  * [[https://community.easymorph.com/t//2186/2|Excel IRR formula]] ([[https://community.easymorph.com/uploads/short-url/r3hO74ebEfwvCgq0YqkKt7bqGM2.morph|Project]]; Module: //TEST//; Group: //Group 1//; Table: //TEST//; Action position: //2//)
 +  * [[https://community.easymorph.com/t//2667/1|Run a task only when free RAM is above threshold]] ([[https://community.easymorph.com/uploads/short-url/aU83eid5IQaSt2mJk8hybsitpw3.morph|Project]]; Module: //MemInfo//; Group: //Tab 1//; Table: //Table 1//; Action position: //6//)
  
 \\  \\ 
Line 62: Line 68:
   * [[transformations:input|Input]]   * [[transformations:input|Input]]
   * [[transformations:iterate|Iterate]]   * [[transformations:iterate|Iterate]]
-  * [[transformations:iteratecolumns|Iterate columns]]+  * [[transformations:iteratecolumn|Iterate column]]
   * [[transformations:iteratetable|Iterate table]]   * [[transformations:iteratetable|Iterate table]]
transformations/call.txt · Last modified: 2021/07/18 00:54 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki