> For the complete documentation index, see [llms.txt](https://doc.velneo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.velneo.com/22/velneo-vdevelop/scripts/lenguajes/javascript/procesos-javascript.md).

# Procesos JavaScript

Se ha añadido una nueva propiedad “Lenguaje” a los procesos. Las opciones disponibles son: y JavaScript.

Los procesos con lenguaje JavaScript tienen las mismas propiedades que los procesos salvo que en lugar del árbol de instrucciones disponemos de un fichero de texto, en el cual escribiremos nuestro programa JavaScript.

En la ventana de selección del fichero de script a asociar al control podemos activar la opción aplicar macros. Si se activa lo que se hace es sustituir el id\_ref de proyecto por la macro **(CurrentProject)**. De esta forma, cuando movamos el script y el proceso de un proyecto a otro, la referencia se conservará gracias a la macro, apuntando al fichero correspondiente buscándolo en el proyecto en curso.

Según el tipo de Entrada y el tipo de Salida dispondremos de distintos objetos:

## **Entrada**

* Ficha: VRegisterIn
* Lista: VRegisterListIn

## **Salida**

* Ficha: VRegisterOut
* Lista: VRegisterListOut

Por ejemplo en un proceso con entrada ficha y salida lista dispondremos de dos objetos: VRegisterIn con la ficha de entrada y VRegisterListOut con la lista de salida.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://doc.velneo.com/22/velneo-vdevelop/scripts/lenguajes/javascript/procesos-javascript.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.
