Moogsoft Docs

Workflow Engine Moolets

The Workflow Engine Moolets perform tasks on events, alerts, and Situations as specified in a user-defined workflow. See Workflow Engine for more information.

The following files define the actions that are available when you define a workflow in the Moogsoft AIOps UI:

  • A Workflow Engine Moobot specifies a set of actions that are available when you define a workflow in the Moogsoft AIOps UI.

  • The $MOOGSOFT_HOME/config/moolets/ folder has one default config file for each workflow engine:

    • event_workflows.conf: Event workflows process event data after data ingestion from a LAM and before the Alert Builder.

    • enrichment_workflows.conf: Enrichment workflows process alert data after the Alert Builder but before the Maintenance Window Manager.

    • alert_workflows.conf: Alert workflows process alert data after the Maintenance Window Manager and before they pass to a clustering algorithm.

    • situation_workflows.conf: Situation workflows process Situation data after the Teams Manager. For example, you can use a Situation workflow when you want to integrate with a ticketing system.

  • Each configuration file has a moobot field that specifies the set of supported Moobots. The default Moobot for all four Moolet types is $MOOGSOFT_HOME/bots/moobots/WorkflowEngine.js. Do NOT modify the Moogsoft supplied WorkflowEngine.js.

You can add and update Workflow Engine functionality. See Update the Workflow Engine for more information.

Workflow Engine properties

The Workflow Engine Moolets include the following properties:

run_on_startup

If set to true, the Moolet runs automatically on startup.

Type

Boolean

Default

true

moobot

Set of Moobots to load into the Moolet.

Type

String for one Moobot. Array for multiple Moobots.

For example: ["WorkflowEngine.js", "CustomWorkflowEngine.js"]

Default

"WorkflowEngine.js"

process_output_of

Specifies the source for the objects to route through the Workflow Engine as a Moolet. Defines the engine's location in the the data processing flow.

Type

String

Default

  • Enrichment workflows: AlertBuilder

  • Alert workflows: MaintenanceWindowManager

  • Situation workflows: SituationMgr

event_handlers

Configure the engine to receive the specified event types from any Moolet. See Constants for information on event types.

Type

Array

Default

  • Event workflows: ["Event"]

  • Situation workflows: ["Sig", "SigUpdate", "SigStatus", "SigClose", "ArchivedSig"]

message_type

Defines the type of object to process in the workflow.

Type

String

Default

  • Event workflows: event

  • Enrichment workflows: alert

  • Alert workflows: alert

  • Situation workflows: situation