# UPDATEPROCESSDATA Workflow Application

## 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.
