# Workflow Application: UPDATEPROCESSDATA usage

**URL:** <https://discuss.workflowgen.com/t/workflow-application-updateprocessdata-usage/475>\
**Category:** Workflow Applications\
**Created:** [January 11, 2017, 5:00am UTC](https://discuss.workflowgen.com/t/workflow-application-updateprocessdata-usage/475 "2017-01-11T05:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [January 11, 2017, 5:00am UTC](https://discuss.workflowgen.com/t/workflow-application-updateprocessdata-usage/475/1 "2017-01-11T05:00:00Z")

</div>

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

### Required parameter

| Parameter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Direction | Description |
| --- | --- | --- | --- |
| `REQUEST_ID` | Numeric | IN | This parameter must contain a valid request ID |

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

### Example

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

Create a workflow action using UPDATEPROCESSDATA with the following parameters:

- `REQUEST_ID` send the value of: Data: `REQUEST_ID_UPDATE`

- `AMOUNT` send the value of: Data: `AMOUNT_UPDATE`

You may have to add an exception management to handle possible errors (e.g. invalid request ID).
