Input None
Output None

A "Launch Action" task provides ability to launch other (target) actions from a workflow. This is rough equivalent of the "spawn process" concept.

Target action will be launched in their own isolated context with no relation to the source action's context. To share data between source and target actions you may use clipboard, family and system variables. You may also provide arguments to a target action by specifying the Arguments property.

Source action will be suspended (by default) till completion of a target action. To immediately finish source action - turn ON the "Finish Action" property of a "Launch Action" task. Suspended source action will be resumed even if the target action is failed or cancelled. Result of the target action launch can be obtained via the x-status variable, which can have one of the x-success, x-error or x-cancel values.

Target action can return some values. To set it up - define target action's "Options | Output Arguments" in the same form as launch action arguments.

The following are "Launch Action" Task properties.

Launch Action - UID: UID or short UID of an action to launch. Note: if you are planning to share your actions - action to launch must be identified by its "short UID" (so "short UID must be defined for the a target action). Otherwise, linking will be broken as UIDs of actions will be different after import of them.

Launch Action - Title: optional title to help identifying action.

Arguments: arguments to a target action as a list of argument=value statements. For example, to pass contactID and prompt arguments to a "Contact" action the following expression should be used:

contactID=$(contact.contactID)
prompt=Greet

Finish Action: specifies whether to immediately finish source action after launching a target action.

See also:
Common Task Attributes
Task Options
Variable Types