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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | comalaRemoveWorkflowFromPage(pageId) | **Package** | comala |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Removes workflow of the selected page.

Removes workflow of the selected page.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | pageId | Integer | Yes | The selected page to remove workflows from. |

## Return Type

**Boolean**

## Example

The following example removes the workflow from the "Some Page" page.

```javascript
number pageId = getPage("TST", "Some Page");
return comalaRemoveWorkflowFromPage(pageId);
```

Returns 'true'

## See also

> Macro (contentbylabel)