Web Service: API: Performance: Limit the process data to be retrieved

#1

By default “GetProcessInstanceList” and “GetActivityInstanceList” web methods retrieve all the process data associated to the requests/actions.

If you don’t need process data values, you just have to add a soap header or query string parameter:
ShowData=False.

If you only need a subset of the associated process data, since the version 5.6.2, you can specify the list of process data to be retrieved with the soap header or querystring parameter "DataList"
E.g: DataList=AMOUNT,APPROVAL,COMPANY

The performance will be dramatically improved.

Example of query string:

http://localhost/wfgen/ws/ProcessesRuntime.asmx/GetActivityInstanceList?query=closed&datalist=REQUEST_SUBJECT,FORM_ARCHIVE

0 Likes

WorkflowGen 5.6.2