Skip to main content

Run File

The Run File component in Robbot RPA allows you to execute a file, such as Python, VBScript, or JavaScript, within your automation workflow. This component provides a convenient way to run script files and capture their output or result.

Parameters

File Path : Click the button next to this parameter and select the file you want to run. Specify the path of the file you want to execute. This can be a script file written in Python, VBScript, JavaScript, or any other supported scripting language. Type : String

Environments : Enter the dictionary you have previously created. This parameter allows you to pass environment variables to the file being executed. You can define key-value pairs in the dictionary to set specific environment variables for the script. Type : Dictonary(string,string)

Result : Returns the output or result of the executed file. This parameter captures the output or result produced by the executed script file. It allows you to store the file's output for further processing or to display relevant information. Type : String

Usage

To use the Run File component in your Robbot RPA project, follow these steps:

Drag and drop the Run File component into your sequence or workflow.

Configure the component by providing the necessary inputs:

Click the button next to the File Path parameter and select the script file you want to run.

If needed, enter the dictionary containing environment variables in the Environments parameter.

Continue building your sequence or workflow by adding other components or actions as needed.

Execute your sequence or workflow. The Run File component will execute the specified script file, and the output or result will be captured in the Result parameter.

By using the Run File component, you can easily run script files and automate tasks that involve executing Python, VBScript, JavaScript, or other scripting languages.