IsProcessRunning
Last updated
Last updated
© Copyright 2023, Astera Software
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. |
Example
This object checks for processes in the Task Manager of your machine.
Therefore, in this example, we will be passing the required parameter to the function transformation object using a Variables object.
Where,
processName = Calculator
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.