# Program

### ![](https://2873353689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfK1YJaTCqOiS0L22wVKG%2Fuploads%2Fgit-blob-b1ff09efdc12bf5f66706c589ab22a99da1cb7dd%2FIcon_TOB_program.gif?alt=media)

### Abstract

Plug-in to run external stored programs with OMrun.

Runs a customized program (.exe) with the defined parameters from OMrun.

***

### Input

Execution parameters to invoke a program execution:

**Field `Application`** (Input directory and program name (.exe) as hard coded value or as a variable from the local / global environment definition)

* Description: Customized program able to work with input parameters from OMrun.
* Syntax: <\*.exe>
* Example: C:/Temp/WaitBatch.exe
* Possible values:
  * \<variable name> (from environment)
  * \<hardcoded path / file name>\\

**Field `@param1` - `@param4`** (parameters)

* Description: Any type of parameter depending on the expected input value for the customized program.
* Syntax: \<param1> \<param2> \<param3> \<param4>
* Example: "Path" "First Name" "Second Name" "Address"

***

### Output

The output depends on the functionality of the customized program.


---

# 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/version-4.x/element-overview/test-program-object/program.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.
