SOAP API - queryHaltedProcessInstances
The table summarizes the SOAP API - queryHaltedProcessInstances.
Request | Uses the queryProcessInstancesInput element (from the ProcessManagement schema) |
Parameter notes |
|
Response | Returns a queryProcessInstancesOutput 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:queryProcessInstancesInput> <proc:query>SELECT INSTANCE.ID, INSTANCE.NAME, ContactName FROM process</proc:query> <proc:pageSize>0</proc:pageSize> <proc:attributeMap> <proc:templateAttribute> <proc:name>ContactName</proc:name> <proc:type>String</proc:type> </proc:templateAttribute> </proc:attributeMap> </proc:queryProcessInstancesInput> </soapenv:Body> </soapenv:Envelope> |
Response:<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <queryProcessInstancesOutput xmlns="http://www.tibco.com/bx/2009/management/processManagerType"> <processInstances> <processInstance> <processQName> <processName>TestProcess</processName> </processQName> <id>pvm:0a125</id> <customAttributes> <customAttribute> <name>ContactName</name> <value>John Morris</value> </customAttribute> </customAttributes> </processInstance> </processInstances> <pagingID>0</pagingID> </queryProcessInstancesOutput> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.