testSendEmail

A Workflow Engine function that specifies an email server instance as defined in the integrations UI. The integration contains the email addresses, email subject, and email message to use for the email request..

This function is available as a feature of the Add-ons v2.1 download and later. See Install Moogsoft Add-ons for information on how to upgrade.

This function is available for alert and Situation workflows.

Back to Workflow Engine Functions Reference.Workflow Engine Functions Reference

Arguments

Workflow Engine function testSendEmail takes the following arguments:

Name

Required

Type

Description

emailConfig

yes

string

TBD Same as in UI

Example

The following example demonstrates typical use of Workflow Engine function testSendEmail.

Set the following:

The UI translates your settings to the following JSON: