# Web Services API: Retrieve a list of actions to do filtered on the process data values

**URL:** <https://discuss.workflowgen.com/t/web-services-api-retrieve-a-list-of-actions-to-do-filtered-on-the-process-data-values/324>\
**Category:** Web API\
**Created:** [April 15, 2014, 11:13pm UTC](https://discuss.workflowgen.com/t/web-services-api-retrieve-a-list-of-actions-to-do-filtered-on-the-process-data-values/324 "2014-04-15T23:13:01Z")\
**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:** [April 15, 2014, 11:13pm UTC](https://discuss.workflowgen.com/t/web-services-api-retrieve-a-list-of-actions-to-do-filtered-on-the-process-data-values/324/1 "2014-04-15T23:13:01Z")

</div>

### Question

We would like to retrieve the list of actions to do filtered on some process data values (e.g. `AMOUNT`, `COMPANY`).

### Solution

The `GetActivityInstanceList` web method doesn’t support parameters to filter the list of actions on process data values. You first have to retrieve the list of actions with the process data, then you have to filter the result according to your criteria.

Exemple of query to retrieve actions to do with some associated data:

```auto
http://yourserver/wfgen/ws/ProcessesRuntime.asmx/GetActivityInstanceList?query=todo&processName=MYPROCESSNAME&showprocessinstancedata=true&datalist=COMPANY,AMOUNT   

```

You have now an XML result with process data values that you can filter in your program.
