---
url: /process-functions/process-exists.md
description: Checks if a specified process exists within the model.
---

# process.exists

Checks if a specified process exists within the model.

```js
process.exists(process)
```

#### Parameters

* `process` (string): The name or id of the process to be checked.

#### Returns

* `boolean`: Returns `true` if the process exists, otherwise `false`.

#### Examples

```js
// Check if a process exists.
var doesExist = process.exists("yourProcess");
console.log(doesExist); // true or false
```
