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

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

## Description

> Macro (excerpt)
> 
> Removes the selected workflow that exists in the specified space.

Removes the selected workflow that exists in the specified space.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | spaceKey | Integer | Yes | Specified space key |
> | spaceKey | Integer | Yes | Specified space key |

## Return Type

**Boolean**

## Example

The following example removes the WorkflowName workflow from the TST space.

```javascript
return comalaRemoveWorkflowFromSpace("TST", "WorkflowName");
```

Returns 'true'

## See also

> Macro (contentbylabel)