# Configuración de parámetros de entrada y salida en las propiedades del proyecto

## Parámetros de entrada <a href="#docs-internal-guid-d38c9f78-7fff-61cd-927f-7bb762959528" id="docs-internal-guid-d38c9f78-7fff-61cd-927f-7bb762959528"></a>

Para trabajar con los parámetros de entrada, es necesario seguir los siguientes pasos:

### 1. Abra las propiedades del proyecto

Vaya a la pestaña Proyecto, haga clic derecho en la carpeta del proyecto y seleccione en el menú emergente la opción “Propiedades del proyecto”:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdI6Da9OMLtq8-aTZFBIIBHRSYPbpNR-Uhl_00QK-RfaDZaaO4iLvHaorRMgdf1JajuRGWFxMpf-GH5_fYWQgF-pftxZzNdiVvQRnDml2QtVBGr2CrCQ_PBXKtg7gaJrFrgGmQXlQ?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

### 2. Cree un archivo JSON

En la ventana de Propiedades del proyecto que se abre, haga clic en el botón “Crear archivo de argumentos”.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdgzdxEXGK1wEYzmWWZmouzRiUJZQxZa8I4eMfI7frnfy-hbOympgfhjIpF8Rd2uBbmFgEn0zaMWIje1Frrx24TCr-JkCX2_JlqRd6qTOpLfso6pzQOuqCjFjgdz5z5YA_BZo-d_Q?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Seleccione el directorio para el archivo JSON, que se utilizará para pasar parámetros al Robot, ingrese su nombre y haga clic en el botón Guardar:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd6BtEDE038r-n21pF537e2tkRe0d8mcBI--mxJIyBazsiB2nxjvArHR42xM6kNdD98azmIVY_Xo-5wOTn_YDHz-GQ5LN3egATAPYECXLjPnfYlC_QtNmZ4FHNfHRKz-bjW8lhF?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Revise la advertencia de Sherpa Designer y haga clic en el botón Aceptar.

### 3. Especifique los parámetros de entrada

Haga clic en el botón “Agregar parámetro”:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfZVUReqGZEfKdQCA3Ag5_JUKkZIvM3cTTBDLLHi61RmbhPGtxNSeUG4FgSh0XFb0-z5qe-UGHAzd406HNjjeU249W2eg0zIKcHcWectfU7j2S0eiXLN4bOG3y4DVn5W9J5FbMB?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Haga clic en el campo Nombre y seleccione el parámetro deseado:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfEsBt3mbMTHqiNuISR5txPcy5UucwL-wqvT7y1UtOxwIVMR22e23GVzY6NB86T7_1-AOmEj2rYfMD9vAWkbAz5M5LOcxPwt-j3pAYDxcOhmGfxXeJMMFDgzx8VCb6M4oPFGY6mIQ?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Haga clic en el botón Aceptar.

### 4. Agregue argumentos al archivo JSON

Abra el archivo JSON creado en el Paso 2, en el directorio seleccionado.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfh2Kk-u_5Emb6kNiKbBrkBbl3AKi7PAQBd3HQfOOKNcBeJ_TxReo5MUVRFEGTPgZoGRUz9Ss_05VTa6jdQQWrmSoZa40DL_gbrJu_xh8vYTwMfY6qq6uhFs6WzLiOwO5tR8mKfgg?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Especifique los argumentos que desea pasar en su script. Por ejemplo,

`[{"Name":"file_name","Type":"Text","Direction":"In","Value":"file_name"}]`

### 5. Ejecute el Robot

Abra la Línea de comandos, ingrese la ruta al archivo `ProcessAgent.exe` y luego el comando:

`ProcessAgent.exe -args "ruta al archivo de argumentos" "ruta al archivo .robot"`

donde:

* `-args` — clave de línea de comandos (parámetros del archivo JSON).
* `"ruta al archivo de argumentos"` — es la ruta completa al archivo JSON que se creó en el Paso 2.
* `"ruta al archivo .robot"` — es la ruta al archivo del script del Robot.

Por ejemplo,

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXei8e-0DW_8LsrQJBy8a4LvqoR12_okO25YUyjPwO-iqiIAWXpB6Zze78znS9UVZkFwYKhRCsPqMDJCRAYq7QWcxv29eB6zjkpo6c2eoA0JTiJnITbgP_jyaVDSD2B6HvHZqNej?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="53"></th><th></th></tr></thead><tbody><tr><td><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcyRBTAi8cYOivyW1IKyutwXs8k36sklbv8f3Ax3odSnRS2QNq3FlcOsE1Zd3BsvKT4sTmg1RsG6bmq2_WxXsGaNyroCVc5KGsVRPQnniPgPH10HA0_jAor6Z1GnDyaPviGl7JO5Q?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt="" data-size="line"></td><td>La ruta al archivo <code>ProcessAgent.exe</code> se puede encontrar haciendo clic derecho en el acceso directo de Sherpa Assistant en el escritorio y seleccionando "Ubicación del archivo".</td></tr></tbody></table>

## Parámetros de salida

Para trabajar con los parámetros de salida, es necesario seguir los siguientes pasos:

### 1. Abra las propiedades del proyecto

Vaya a la pestaña Proyecto, haga clic derecho en la carpeta del proyecto y seleccione en el menú emergente la opción “Propiedades del proyecto”:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdI6Da9OMLtq8-aTZFBIIBHRSYPbpNR-Uhl_00QK-RfaDZaaO4iLvHaorRMgdf1JajuRGWFxMpf-GH5_fYWQgF-pftxZzNdiVvQRnDml2QtVBGr2CrCQ_PBXKtg7gaJrFrgGmQXlQ?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

### 2. Cree un archivo JSON

En la ventana de Propiedades del proyecto que se abre, haga clic en el botón “Crear archivo de argumentos”.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdgzdxEXGK1wEYzmWWZmouzRiUJZQxZa8I4eMfI7frnfy-hbOympgfhjIpF8Rd2uBbmFgEn0zaMWIje1Frrx24TCr-JkCX2_JlqRd6qTOpLfso6pzQOuqCjFjgdz5z5YA_BZo-d_Q?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Seleccione el directorio para el archivo JSON, que se utilizará para pasar parámetros al Robot, ingrese su nombre y haga clic en el botón Guardar:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd6BtEDE038r-n21pF537e2tkRe0d8mcBI--mxJIyBazsiB2nxjvArHR42xM6kNdD98azmIVY_Xo-5wOTn_YDHz-GQ5LN3egATAPYECXLjPnfYlC_QtNmZ4FHNfHRKz-bjW8lhF?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Revise la advertencia de Sherpa Designer y haga clic en el botón Aceptar.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd5u1WaTn4W-XnADYDLs1g9OzB5A7nUyODcJG6pWc4DDdz8I0n8aLC9bQ7rXwtx3T5AXMl5FamacZ7rTlKXWMgG5SmfSu1EFZ8O3EqvipRqbbgu51mDFlTvjZbcxw-Rl4B-NQc9Ww?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

### 3. Especifique los parámetros de salida

Vaya a la pestaña Parámetros de salida. Haga clic en el botón “Agregar parámetro”. Haga clic en el campo Nombre y seleccione el parámetro deseado:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdjTbvEK9S0s0W2b0-Q0TeTPVvb0KH4lGpFrNE6KIa6VlF8hruDZAhF6p78V-0kKdpCRLOu2sjUWWJ0zFiR5e6CHdSUFcsY35VwaXik1IYMx3eYouV-sa0CNTMlKu8ni4r85TC7?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Haga clic en el botón Aceptar.

### 4. Agregue argumentos al archivo JSON

Abra el archivo JSON creado en el directorio seleccionado:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfh2Kk-u_5Emb6kNiKbBrkBbl3AKi7PAQBd3HQfOOKNcBeJ_TxReo5MUVRFEGTPgZoGRUz9Ss_05VTa6jdQQWrmSoZa40DL_gbrJu_xh8vYTwMfY6qq6uhFs6WzLiOwO5tR8mKfgg?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Especifique los argumentos que desea pasar en su script. Por ejemplo,

`[{"PathData":"14.03.2025","Type":"Text","Direction":"Out","Value":"PathData"}]`

### 5. Ejecute el Robot

Abra la Línea de comandos, ingrese la ruta al archivo `ProcessAgent.exe` y luego el comando:

`ProcessAgent.exe -args "ruta al archivo de argumentos" "ruta al archivo .robot"`

donde:

* `-args` — clave de línea de comandos (parámetros del archivo JSON).
* `"ruta al archivo de argumentos"` — es la ruta completa al archivo JSON que se creó en el Paso 2.
* `"ruta al archivo .robot"` — es la ruta al archivo del script del Robot.

<table data-header-hidden><thead><tr><th width="51"></th><th></th></tr></thead><tbody><tr><td><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcyRBTAi8cYOivyW1IKyutwXs8k36sklbv8f3Ax3odSnRS2QNq3FlcOsE1Zd3BsvKT4sTmg1RsG6bmq2_WxXsGaNyroCVc5KGsVRPQnniPgPH10HA0_jAor6Z1GnDyaPviGl7JO5Q?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt="" data-size="line"></td><td>La ruta al archivo <code>ProcessAgent.exe</code> se puede encontrar haciendo clic derecho en el acceso directo de Sherpa Assistant en el escritorio y seleccionando "Ubicación del archivo".</td></tr></tbody></table>


---

# 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://docs.sherparpa.ru/es/sherpa-rpa/sherpa-designer/sherpa-designer-otvety-na-chasto-zadavaemye-voprosy/nastroika-vkhodnykh-i-vykhodnykh-parametrov-v-svoistvakh-proekta.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.
