# GETFORMDATA

## Overview

The **GETFORMDATA** workflow application lets you retrieve form field values for a specified request. It is useful when you need to retrieve form data which is not mapped to process data.

{% hint style="info" %}
GETFORMDATA can only be used with TEXT, NUMERIC, and DATETIME type fields and data.
{% endhint %}

## Using default and other parameters

The required parameter is `REQUEST_ID` (IN, numeric), which is the request ID that contains the process data to retrieve.

The optional parameter is `FORM_DATA_NAME` (IN, text), which is the process data name that contains the form data to query. By default, GETFORMDATA uses the `FORM_DATA` process data name.

The other parameters are defined in the workflow action according to your needs:

* **Parameter name**: The form field full ID (e.g. `REQUEST_AMOUNT`)
* **Receive value into**: The process data to update

#### 📌 Example

To retrieve the value of the `REQUEST_COMPANY` form field into the `CUSTOMER_COMPANY` process data , the process data and the field data types must be the same. You may have to add an exception management to handle possible errors (e.g. invalid request ID).


---

# 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.workflowgen.com/admin/10.0/workflow-applications/getformdata-workflow-application.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.
