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


#1

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

Solution
"GetActivityInstanceList" web method doesn’t support parameters to filter the list of actions on process data values.
So you have first to retrieve the list of actions with the process data and then you have to filter the result according to your criterias.

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

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

You have now a xml result with the process data values that you can filter in your program.