---
title: "Multiple active workflows in a space"
canonical: "https://support.appfire.com/space/CDML/649857661/Multiple%20active%20workflows%20in%20a%20space"
format: markdown
---
> Macro (aura-html)


> Macro (excerpt)
> 
> Apply mutiple workflows in a space to different content filtered by content labels allowing different document management processes to be applied to different types of content in the same space

### Overview

Power users of Comala Document Management workflows may choose to run multiple active workflows in one space with the use of workflow content label filters to apply each workflow to different content. This permits great flexibility in using space workflows to manage your documentation processes.

> ℹ️ There is no limit to the number of workflows that can be added to a space but
> ℹ️ 
> ℹ️ - only one workflow can be applied to a document at any one time.

## Overall hierarchy of space workflow application

Active workflows will be applied based on the following overall hierarchy

- the workflow scope (global or space)
- the content label filter if present*****
- the alphabetical by name listing of the active workflows

> 📝 *****An active workflow in a space with no content label filter is prioritized to apply to space content over any workflow (of the same scope) with a content label filter.

## Global scope workflow

An active global scope workflow will take priority over any active space scope workflow in a space.

![image](media://8d5806bc-caf2-4f50-b44f-d4f3c231a3a1)

The **Simple approval workflow** in the above space will be applied to all the space content.

> ✅ A global scope workflow added to a space (with no content label filter) will be applied to all content in the space even if any active space scope workflows have a content label filter.

## Applying a space scope workflow and a global scope workflow in a space

In a space, to allow a space scope workflow to be applied when a global scope workflow is added to the dashboard, the global scope workflow can be configured by the global administrator to use a content label filter.

![image](media://8efdfb40-6536-4e71-94c8-c3c1349da0ab)

In the above example, the **Simple approval workflow** with the content label filter **documentation** in the above space will be applied to only content with the label **documentation**.

> 📝 All other content without the **documentation** label has the active space scope **Approval workflow** applied.

The active space scope **Approval workflow** is applied as a priority as

- an unfiltered content label workflow
- it is also listed alphabetically by name higher in the dashboard than any other workflow that also does not use a content label filter

Disabling the **Approval workflow** with the global scope workflow with the content filter present

- applies the **CDA Team Workflow** (with no content label filter) to all the content without the **documentation** label

Disabling both the **Approval workflow** and the **CDA Team Workflow** with the global scope workflow with the content filter present

- applies either the **CWTD Workflow** or the **Human Resources Team kpi and objectives workflow** to the  content without the **documentation** label but based on the document content labels for these workflows

## Hierarchy of application for active space workflows

> Macro (excerpt)
> 
> When having multiple workflows enabled, all of the same scope and with no content label filters, the priority order for their application will be defined alphabetically and can only be controlled by changing the names of the workflows depending on your needs.
> 
> ![image](media://43a0fdbc-3c39-46b1-a22d-360e6dd67271)
> 
> You can have control over the workflow listing order in the dashboard by changing the name of the workflow. In the above example
> 
> - the **Simple approval workflow** is applied to the content in the space
> 
> > ℹ️ Each of the other active workflows in the dashboard - **Simple approval workflow copy 1** or the workflow **z **- is only applied if all the workflows listed higher in the dashboard in disabled.

## Content with multiple active space workflow content label filters

Priority in the application of the enabled space workflows will be implemented if the content has more than one of the active workflow content label filters as a label.

> ℹ️ For content with multiple content filter labels from different workflows, the enabled content label filter workflow implemented on that document will be the one alphabetically listed highest in the space tools Document Management dashboard

![image](media://b3806fcc-963f-40ba-b578-d86d8d212a9c)

In our example above, both workflows are the same scope but different content label filters.

Documents in the space with both the label **a** and the label **b**, would have the **Simple Approval workflow** with the content label filter** a** applied. 

> ℹ️ If a page is created with label **b**, then the **Simple approval workflow copy 1** is applied. If label **a** is subsequently added to this page, then the **Simple approval workflow** with the content label filter using label **a** is applied instead.

The priority application of the workflow with the content label filter using the label **a** is based on the workflow listed first by alphabetical workflow name order in the space tools Document Management dashboard.

> 📝 Adding or enabling another workflow in this space with no content label filter, will apply this workflow to all the content instead of any workflow with a content label filter.

In the example below, the workflow **z** is applied to all the content in the space

![image](media://c391deed-ea4d-4af3-8588-3767a7af263f)

To allow the use of multiple active (enabled) workflows in a space, you need to have all the enabled workflows using a content label filter. 

> ℹ️ An active workflow with no content label filter will be implemented on all documents with a content label in a space in preference to any *workflow of the same scope* using a content label filter.

## Changing the applied workflow on a page

Only one workflow can be “running” on a page but you can create a workflow that includes a workflow trigger to action the application of a different workflow.

This will mean the first workflow will stop “running on the page” (it is removed from being applied) so the other workflow can be applied.