Moogsoft Docs

skip

A Workflow Engine function that forwards an in-scope event, alert or Situation to the next chained moolet using the standard forwarding mechanism, and skips the rest of the workflows in the current engine. Always returns false.

This function is available as a feature of the Workflow Engine v1.1 download. See Update the Workflow Engine for information on how to upgrade.

This function is available for event, alert, enrichment, and Situation workflows.

Note that this function is only compatible with the "Stop All Workflows" Forwarding Behavior.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function skip has no arguments.

Example

In an engine with many workflows, you may only want to process the workflow from the first matching entry filter for performance reasons. You may also want to use this function to ensure no further actions execute after the first workflow. For example, if a lower action has a more open entry filter.

To use the skip function, set it as the last action in your workflow and ensure Forwarding Behavior is set to “Stop All Workflows”.