The Command Line plugin allows administrators to trigger an external application from within an Integrify Process – opening up the use of the operating system as well as a variety of languages, frameworks, and tools.
Note: The appPool identity will require access to perform commands. Custom applications built for our Command Line Plug-In may require programming expertise that is outside of Integrify service and support.
To configure the Command Line plugin select it from the Task options and drag it into your process canvas.
Select Configuration > Configure Task to access the window below:
To configure the Command Line plugin you must define the following, located on the settings tab:
- Command To Run: The Windows System Run Command, batch file or custom executable you wish to engage
- Arguments: Variables you wish to pass into the executable/batch program
- Capture Output for Command in Request? This Yes/No allows you to collect command results and output as part of the Integrify request
- Working Directory: The File or directory location associated with the program
- User Name: The Windows Username required by the program
- Password: The Windows Password required by the program
In our training example we have created a process to allow a user to run and capture their IPConfig settings. Below the Configuration screen shows the basic settings entered:
The Query Parameters tab allows you to set the location of variable data for the Command Line.
In our training example a user can enter specific IPCONFIG prompts in the first form of the process. This value is mapped below as a data source:
When a request using the process above executes, the following is returned and stored within the task history: