User Tools

Site Tools


transformations:call

This is an old revision of the document!


CALL

Category: Workflow / Internal


Description

This action runs another project once. The input dataset of the Call action is passed into the called project. The called module or project should use Input action in order to receive the dataset.

Depending on action settings, a resulting table may or may not be returned to the calling project.


Use cases

  • Run another project without iterating.
  • Custom re-usable actions.


Action settings

SettingDescription
Module/Project to run*Select whether to call a module (within the current project), or an external project (.morph file), then select the
module, or browse to the project file.
ModeSelect whether a result table will be returned, or not, or if errors will be captured. Options: Do not return result table,
Return table (and select the table to be returned), or Capture errors and continue.
Assign parametersIf values will be passed into the called module/project via parameters, select the parameter name to use,
and the value* being passed in.

* Setting can be specified using a parameter.


Remarks

The called process - whether a module in the same project file, or a different project file - needs to start with an Input action to receive the dataset sent by the Call action.

  1. Set up an Input action in a new module (or project file).
  2. In the calling process, add and configure the Call action pointing to the new target module or project file.
  3. Back in the called process, select "Populate automatically" to connect to the data from the Call action (in called modules only). For called project files, you'll either need to "Paste data" (copied from the data source) or "Import dataset" (from a previous-saved .dset file), to populate the Input with sample data.

The Call action's resultant dataset will either be the dataset returned from the called process (if "Return table" was selected), or the dataset passed to it in the current workflow (if "Do not return result table" was selected).


Examples

Call a module in the same project (select module):


Call a module in another project (browse to project file):


See also

transformations/call.1621740296.txt.gz · Last modified: 2021/05/22 23:24 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki