REST API - queryProcessInstances
The table summarizes the REST API - queryProcessInstances.
Request
Format | GET <baseurl>/process/query/instance/<query>/<pagesize> |
Path parameters |
|
Query parameters |
|
Response
JSON | Returns a JSON representation of the content of the queryProcessInstancesOutput element. |
XML | Returns the content of the a queryProcessInstancesOutput element (from the ProcessManagement schema). |
Example
Request | GET <baseurl>/process/query/instance/SELECT%20ContactName%20FROM%20process%20WHERE%20INSTANCE.STATUS%20%3D%20'ACTIVE'/0?name=ContactName&type=String |
Response | { "xml-fragment": { "proc:processInstances": { "@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType", "proc:processInstance": [ { "proc:customAttributes": { "proc:customAttribute": { "proc:name": "ContactName", "proc:value": "Bob Wilson" } } }, { "proc:customAttributes": { "proc:customAttribute": { "proc:name": "ContactName", "proc:value": "Nancy Small" } } }, . . . { "proc:customAttributes": { "proc:customAttribute": { "proc:name": "ContactName", "proc:value": "Bob Campanella" } } } ] }, "proc:pagingID": { "@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType", "#text": "0" } } } |
Copyright © TIBCO Software Inc. All Rights Reserved.