# UPDATEPROCESSDATA

## Overview

The **UPDATEPROCESSDATA** workflow application allows you to update process data associated with a request. It provides a simple solution for inter-process communications.

## Using default and other parameters

### Request

The required parameter is `REQUEST_ID:` IN parameter, numeric value. This parameter must contain a valid request ID.

### Activity

The optional parameters are the process data to update (the parameter name in the processing data name). You must define those parameters on the corresponding action parameters.

To create a workflow action using UPDATEPROCESSDATA, use the following parameters:

* `REQUEST_ID` send value of:
  * Data: `REQUEST_ID _UPDATE`
* `AMOUNT` send value of:
  * Data: `AMOUNT_UPDATE`

{% hint style="info" %}
You may have to add an exception management to handle possible errors (e.g. invalid request ID).
{% endhint %}

#### 📌 Example

If you want to update `AMOUNT` with the value of the `AMOUNT_UPDATE` process data, the request ID to update is stored in a `REQUEST_ID_UPDATE` process data.


---

# 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/9.1/workflow-applications/updateprocessdata-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.
