---
url: /process-functions/workview-list.md
description: Lists the model's workviews.
---

# workview.list

Lists the model's workviews.

```js
workview.list()
```

## Returns

The workviews, each with an `id` and `name`.

## Examples

::: code-group

```js [list.js]
for (const wv of workview.list()) {
    console.log(wv.name);
}
```

```text [Output]
Monthly P&L
Sales by Region
```

:::

## Related

* [workview.execute](/process-functions/workview-execute)
* [workview.definitionGet](/process-functions/workview-definitionget)
