Definition and Usage
This command checks if a specific process is currently running on the system. It allows you to verify the existence of a process either by its name or by its process ID (PID). The command returns a boolean value (true/false) indicating whether the specified process exists.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required |
Find process by | Choose whether to use the process name or process ID to check if the process is running | Process name, PID | Yes |
Process name | Enter the process name to check if there is a process with the given name |
| Yes (if "Process name" is selected) |
Process ID | The process ID to be determined |
| Yes (if "PID" is selected) |
Store result into | Store the result into a new variable |
| Yes |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action produces a boolean variable (true/false) that indicates whether the specified process exists on the system.
Using Variables in Conditions
You can use the output variable in conditional statements to execute different actions based on whether a process is running. For example:
Use in If/Else conditions to perform different actions when a process is running or not
The variable can be referenced using the {variableName} syntax in subsequent commands
The output is a boolean type, so it works well with logical operations
Notes
Process names should be entered without the file extension (e.g., use "notepad" instead of "notepad.exe")
The process check is case-insensitive when searching by process name
When checking by PID, ensure the process ID is a valid integer
This command only checks for currently running processes; it cannot detect processes that have terminated
Multiple instances of the same process name will return true if at least one instance is running