Nested Automation Workflows

By: Morpheus Data

Morpheus automation workflows enable automation tasks to be orchestrated in a defined order. There is often a need to extend a commonly used workflow without modifying the base workflow. This use case is now possible with the latest release of Morpheus. The 6.0.0 release of the Morpheus platform has added support for triggering the execution of a workflow from another workflow. This is commonly referred to as nested automation workflows or nesting a workflow inside of another workflow.

In this blog post you’ll learn how to create a nested automation workflow.


Workflows are a collection of tasks and nested automation workflows allow “layers” of automation to be created. In the digram below you can see that the top level workflow contains two python scripts and the new nested workflow task type. The top level workflow executes the first python script then the nested workflow task triggers the based workflow. Once all of the tasks in the base workflow are completed, the second python script from the top level workflow executes.

nested automation workflows overview diagram

Creating a Nested Workflow

A Nested Workflow automation task type has been added to the platform. Operational workflows are the only workflow type that supports being nested. Create a new automation task and select the Nested Workflow task type from the Type drop-down. Now select an existing operational workflow in the Operational Workflow typeahead.

Attaching a Nested Workflow Task

Once the nested workflow automation task has been created, it can be added to a provisioning or operational workflow like any other task type. This enables you to quickly reuse an existing workflow but also ensure that workflows that call the base workflow inherit any updates made to the base workflow.

Additional details about nested workflows can be found in the Morpheus documentation.

Join the Morpheus Community

Join the Morpheus community and engage other Morpheus community users to learn more about ways to use the platform. Also, downloading the Morpheus Community Edition lets you fully experience the Morpheus platform including nearly all features and capabilities! Register at Morpheus Hub and try it in your home lab or test environment today!

Related Resources

  • listing image
    May 2024 | Product
    Lab Guide: SuiteCRM Automation with Morpheus
  • listing image
    May 2024 | Solution
    Morpheus + Dell Solution Brief
  • listing image
    Apr 2024 | Solution
    Morpheus Orchestration for Edge Computing
  • card listing image
    Apr 2024 | Webinar
    Tech Brief: What’s New in Morpheus 7.0
  • listing image
    Feb 2024 | Blog
    Reduce risk from the Broadcom acquisition with VMware a...
  • listing image
    Oct 2023 | Paper
    Build vs Buy for Hybrid Cloud Platform Operations
  • card listing image
    Oct 2023 | Video Demo
    Morpheus Minute: Workflows
  • card listing image
    Oct 2023 | Webinar
    Tech Brief: Morpheus & Ansible Automation Platform
  • card listing image
    Oct 2023 | Webinar
    Tech Brief: Getting Started with Morpheus REST API
  • listing image
    Sep 2023 | Solution
    Morpheus + HPE Solution Brief