---
url: /process-functions/script-processid.md
description: Returns the identifier of the process which is executing.
---

# script.processId

Returns the identifier of the process which is executing.

```js
script.processId();
```

#### Parameters

None.

#### Example

```js
let processId = script.processId();
```
