# IsProcessRunning

| **Name**    | ***IsProcessRunning***                                                    |
| ----------- | ------------------------------------------------------------------------- |
| Syntax      | IsProcessRunning (String processName)                                     |
| Purpose     | To check whether a process is currently running.                          |
| Description | Returns True if a specified process is running. Otherwise, returns False. |
| Return Type | Boolean                                                                   |
| Parameters  | processName \[String.String] – Name of the process to check.              |

![](/files/OiTCK2Xm2gqucesDJ9g1)

**Example**

This object checks for processes in the Task Manager of your machine.

![](/files/pITQWKGT6hMD6pVEgdg3)

Therefore, in this example, we will be passing the required parameter to the function transformation object using a *Variables* object.

Where,

*processName* = Calculator

![](/files/VmVpy3nhjUCI9UFmeW6I)

In the output, you can see that the Boolean value, True, has been returned. Hence, as also evident in the Task Manager, the Calculator process is currently running.

![](/files/lFQeqpBnoqU7VRwEQhuA)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/functions/processes/isprocessrunning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
