> For the complete documentation index, see [llms.txt](https://docs.workflowgen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.workflowgen.com/vs-web-forms/process-definition.md).

# Process Definition

## Overview

To integrate your web form into a WorkflowGen process, some specific process data must be defined.

## `FORM_DATA` process data <a href="#form-data-process-data" id="form-data-process-data"></a>

The `FORM_DATA` process data (FILE type) of your process will be managed by EFORMASPX. It should be created and then left empty. By default, it will be created automatically with a default `UTF-8` encoded XML file containing the following lines:

```html
<?xml version="1.0" encoding="utf-8"?>
<NewDataSet>
    <Table1/>
</NewDataSet>
```

{% hint style="info" %}
You don't need to create this file, only define the data element.
{% endhint %}

## `FORM_URL` process data <a href="#form-url-process-data" id="form-url-process-data"></a>

We recommend creating the `FORM_URL` data that contains your web form's URL. This data is then used in all of the EFORMASPX actions that refer to the web form.

If your process uses multiple web forms, you can always declare a `FORM_URL_XXXXXXX` data for each web form you need; just be sure to use meaningful names to replace `XXXXXXX`.

## `FORM_ARCHIVE` process data <a href="#form-archive-process-data" id="form-archive-process-data"></a>

The `FORM_ARCHIVE` process data is used to store the static form for each completed action. The only thing you need to do is to create this process data with FILE as the type. Do not upload any file to it.

For each action you want to have archived, create a `FORM_ARCHIVE` parameter and link it to this process data.


---

# 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://docs.workflowgen.com/vs-web-forms/process-definition.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.
