Skip to main content

Run Standalone Workflow action

Available for:

• Data pipeline workflows

• Standalone workflows

• Alert workflows

• Incident workflows

This action allows you to run a standalone workflow.

When calling the Run Standalone Workflow action, the workflow actions in the standalone workflow are processed asynchronously and separately. This means that the calling workflow will proceed without waiting for the completion of the standalone workflow, and it is not guaranteed to receive updates from the standalone workflow. Conversely, the standalone workflow is not guaranteed to receive updates from the calling workflow after the point at which it was invoked.

Avoid situations where the caller workflow and a standalone workflow modify the same field after the Run Standalone Workflow action is invoked, as the final value of the field may be unpredictable.

This action takes the following inputs:

  • Workflow Name

    Select a standalone workflow to run from the list. Standalone workflows run in parallel, so do not rely on the output in subsequent actions or other workflows.

Warning

Workflow Loops

When using the Run Standalone Workflow action in multiple workflows, make sure to avoid creating workflow loops. Workflow loops occur if you call the same workflow twice in a sequence of Run Standalone Workflow action invocations. For example, Workflow 1 -> Workflow 2 -> Workflow 1 would constitute a workflow loop, as would Workflow 1 -> Workflow 2 -> Workflow 3 -> Workflow 2.

If Incident Management detects a workflow loop during execution, the workflow engine will halt processing.

Example

The Run Standalone Workflow action works the same way for both alert and incident workflows.

You can use the Run Standalone Workflow action to send incident data asynchronously to an external system:

  1. Create a new standalone incident workflow for sending data to your external system:

    1. Configure a new webhook endpoint for a CREATE payload by following these instructions: Add a new webhook endpoint

    2. Navigate to Correlate & Automate > Workflow Engine, then click the Incident Workflows tab.

    3. Click the Standalone Workflows tab.

    4. Click Add Workflow and provide a name for the workflow. Optionally, provide a description.

    5. Click Add Action, select the Send to Endpoint action and then click Add Selected Action.

    6. Select the new Send to Endpoint action and complete each section according to the following:

      1. Webhook: Select the CREATE incident webhook endpoint that you configured earlier.

      2. External Link: Skip this section.

      3. Integration Name: Enter a name for the integration.

        Skip all remaining sections.

    7. Save the workflow.

    8. Enable the workflow.

  2. Call the standalone incident workflow from a data pipeline incident workflow:

    1. Navigate to Correlate & Automate > Workflow Engine, then click the Incident Workflows tab.

    2. Click the Data Pipeline Workflows tab.

    3. Open an existing workflow from a list, or create a new one by clicking Add Workflow.

      If you created a new workflow, provide a name for the workflow. Optionally, provide a description.

    4. If you are editing an existing workflow, click Edit.

    5. Click Add Action, select the Run Standalone Workflow action and then click Add Selected Action.

    6. Under Workflow Name, select the standalone incident workflow you created earlier.

    7. If you are editing an existing workflow, drag the Run Standalone Workflow action to rearrange it within your workflow actions list, placing it where you want to initiate the sending of incident data to the external system.

    8. Save the workflow.

    9. Enable the workflow if it is not already enabled.