Moogsoft Docs

Manage Workflow Engine Actions

Labs Feature

This feature is an Early Access Feature. An administrator can enable it at Settings > Labs > Configure > Early Access Features.

After you have defined the data you want to process using a Workflow Engine in Moogsoft AIOps, you can set up actions to programmatically transform the data and control the data flow.

Workflow Engine Early Access Warning

There are breaking changes for Workflow Engine between v7.2.0 and v7.3.0. Upon upgrade, you may need to recreate your actions.

When you edit an engine, you can click +Add Action to create a new action, or double-click an existing action to edit it.

Delay

By default, each workflow has a delay action. It is mandatory and you can not delete it. You can set the delay for up to 86,400 seconds (24 hours). If you set the Reset option

Actions

Define workflow actions as follows to add custom processing to events, alerts, or Situations depending on the type of engine:

Action Property

Description

Name

Identifier for the action. Must be unique within the workflow.

Function

A Programmatic task based on JavaScript and Java functions. The available function list varies according to the object: event, action, or Situation.

When you set the function, the UI displays its description and updates the Values to correspond to the function. For example, the contains action lets you check a field in your object for a matching values. See Workflow Engine Function Reference.

Value

Parameters for the function. The parameters vary from function to function. When you select a function, the UI updates the description of the parameters. For more information, see Workflow Engine Function Reference. and Alert and Event Field Reference.

Forwarding Behavior

Controls the data flow. For objects where the function returns true, you can choose to always forward to the next action or workflow, stop the current workflow, or stop all workflows for the object.

If you have multiple actions, you can drag and drop them to arrange them according to your requirements.