SOAP API - getAvailableProcessInstanceVariables

The table summarizes the SOAP API - getAvailableProcessInstanceVariables.

Request Uses the getAvailableProcessInstanceVariablesRequest element (from the ProcessManagement schema)
Parameter notes processID can be obtained from queryHaltedProcessInstances .

The specified process instance must be in a HALTED state for the request to be valid. An illegalStateFault is returned if the process instance is in any other state.

Response Returns an availableProcessInstanceVariables 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:getAvailableProcessInstanceVariablesInput>
         <proc:processID>pvm:0a124</proc:processID>
</proc:getAvailableProcessInstanceVariablesInput>
   </soapenv:Body>
</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <availableProcessInstanceVariables xmlns="http://www.tibco.com/bx/2009/management/processManagerType">
         <variable>
            <name>ResultSet</name>
            <value/>
            <Type>CDS</Type>
         </variable>
         <variable>
            <name>Queryname</name>
            <value>Heston</value>
            <Type>string</Type>
         </variable>
      </availableProcessInstanceVariables>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>