SOAP API - queryProcessInstanceCountAlt
The table summarizes the SOAP API - queryProcessInstanceCountAlt.
Request | Uses the queryString element (from the ProcessManagement schema) |
Parameter Notes | queryString: For information about valid query strings, see
Sorting and Filtering Lists of Process Templates and Instances.
statusMode (optional): If set, count ACTIVE only, TERMINATED only, or ACTIVE_AND_ TERMINATED processes. If not set, it will only show ACTIVE. |
Response | Returns an itemCount element (from the ProcessManagement schema) |
Example | Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proc="http://www.tibco.com/bx/2009/management/processManagerType"> <soapenv:Header/> <soapenv:Body> <proc:queryProcessInstancesCountAltInput> <proc:queryString>select * from process where INSTANCE.NAME like '*';</proc:queryString> <proc:statusMode>ACTIVE</proc:statusMode> </proc:queryProcessInstancesCountAltInput> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <proc:itemCount xmlns:proc="http://www.tibco.com/bx/2009/management/processManagerType">9</proc:itemCount> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.