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.

Overview

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

  • card listing image
    Sep 2024 | Paper
    Morpheus Data Reference Architecture for 7.x
  • listing image
    Aug 2024 | Blog
    NEWS: Morpheus is joining HPE!
  • listing image
    Aug 2024 | Blog
    Cloud Field Day 20: A NeverEnding Story of Innovation
  • listing image
    Jul 2024 | Paper
    ISG Provider Lens – Hybrid Cloud Management
  • card listing image
    Jul 2024 | Webinar
    Tech Brief: Building a Database as a Service Solution w...
  • card listing image
    Jun 2024 | Webinar
    Cloud Field Day 20 – Morpheus in 2024: The Critic...
  • card listing image
    Jun 2024 | Webinar
    Cloud Field Day 20 – Morpheus Tech Foundation: De...
  • Buildvsbuy
    Jun 2024 | Blog
    Build vs. Buy? theCube looks at Hybrid Cloud Platform O...
  • card listing image
    May 2024 | Webinar
    Tech Brief: Integrating Morpheus and GitHub Actions
  • listing image
    May 2024 | Product
    Lab Guide: SuiteCRM Automation with Morpheus