# OMrun Variables

### OMrun Variables #OMrun\[VariableName]\#

OMrun internal variables are used to pass internal path and business system information to the parameter list of a Design Test Object.\
This allows an installation of a business system on any machine and disk without updating the environment variables.

### Use variables #OMrun\[VariableName]\#

The values of the OMrun variables in this example below are used in the OMrun self test.

| OMrun Variable Name   | Variable **Example** Value                                                |
| --------------------- | ------------------------------------------------------------------------- |
| #OMrunUserDataPath#   | C:\Users\\%username%\AppData\Roaming\dbi\OMrun                            |
| #OMrunProjectPath#    | C:\data\projects\TestProject\_OMrun                                       |
| #OMrunBuiltInTest#    | C:\Program Files\dbi\OMrun\BuiltInTests                                   |
| #OMrunMigration#      | C:\Program Files\dbi\OMrun\DataMigration                                  |
| #OMrunTestDB#         | C:\Users\\%username%\AppData\Roaming\dbi\OMrun\Database\OMrunTestData.sdf |
| #OMrunVersion#        | 5.5.0.1                                                                   |
| #OMrunBusinessSystem# | OMrun                                                                     |
| #OMrunEnvironment#    | Test1                                                                     |

### Windows environment variables

You can also use and combine Windows system-/user variables. → (%VariableName%)

**Important**: please **restart OMrun** to get the value of the new variable loaded and accessible.


---

# 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://dbi-services.gitbook.io/omrun-help/configuration/using-variables/omrun-variables.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.
