---
title: "comalaRemoveAllWorkflowsFromSpace"
canonical: "https://support.appfire.com/space/PSCONF/15304070/comalaRemoveAllWorkflowsFromSpace"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | comalaRemoveAllWorkflowsFromSpace(spaceKey) | **Package** | comala |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Removes all workflows that exist in the selected space.

Removes all workflows that exist in the selected space.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | spaceKey | String | Yes | he selected space to remove all workflows from. |

## Return Type

**Boolean**

## Example

The following script will remove all workflows from the TST space.

```javascript
return comalaRemoveAllWorkflowsFromSpace("TST");
```

Returns 'true'

## See also

> Macro (contentbylabel)