REST API - queryHaltedProcessInstances
The table summarizes the REST API - queryHaltedProcessInstances.
Request
Format | GET <baseurl>/process/query/halted/instance/<query>/<pagesize> |
Path parameters |
|
Query parameters | If a user-defined attribute is used in the SELECT statement of a paginated query, that attribute and its type should be included in the query parameters, otherwise a database query must be made to get the type of the user-defined attribute, making the request less efficient. |
Response
JSON | Returns a JSON representation of the content of the queryProcessInstancesOutput element. |
XML | Returns the content of the queryProcessInstancesOutput element (from the ProcessManagement schema). |
Example
Request | GET <baseurl>/process/query/halted/instance/SELECT%20INSTANCE.ID%2C%20INSTANCE.NAME%2C%20ContactName%20FROM%20process/0?name=ContactName&type=String |
Response | { "xml-fragment": { "proc:processInstances": { "@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType", "proc:processInstance": [ { "proc:processQName": { "proc:processName": "ErrorTestsProcess" }, "proc:id": "pvm:0a1212" }, { "proc:processQName": { "proc:processName": "ErrorTestsProcess" }, "proc:id": "pvm:0a1213" }, { "proc:processQName": { "proc:processName": "ErrorTestsProcess" }, "proc:id": "pvm:0a1215" } ] }, "proc:pagingID": { "@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType", "#text": "0" } } } |
Copyright © Cloud Software Group, Inc. All rights reserved.