Skip to main content

sendToAutomation

A Workflow Engine function that sends an automation request.

This function currently supports the eyeShare and ignio integrations and directly relates to configurations from these integrations.

sendToAutomation requires a setAutomationPayload function that precedes it in your workflow.

This function is typically the last action in your workflow. After this action completes you can forward your alert or Situation data to another workflow. For example, if you want to send alert data to another automation tool.

This function is available as a feature of the Add-ons v1.3 download and later.

This function is only available for automation alert and automation Situation workflows.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function sendToAutomation has no arguments.

Example

The following example demonstrates typical use of Workflow Engine function sendToAutomation. It assumes you have set up and configured the following:

  • An eyeShare integration with the name "eyeShare1"

  • A setAutomationPayload function where you have defined the automation solution, instance, and payload. You must configure these before you invoke sendToAutomation in your workflow.

Set the following:

  • Forwarding Behavior: Always Forward.

If the request is successful, the function sets the alert or Situation's custom info status field to Pending. Otherwise, it sets to Failed. Automation results from the automation tool send back through either a Moolet Informs module or direct update to custom_info. See eyeShare and ignio for more information.