SOAP API - runAdhocActivity

The table summarizes the SOAP API - runAdhocActivity.

Request Uses the runAdhocActivityRequest element (from the ProcessManagement schema).
Parameter notes processID: Can be obtained from listProcessInstances, queryProcessInstances, and queryProcessInstancesAlt.

activityName: Can be obtained from listAdhocActivities, which lists all ad-hoc activities for the specified process instance.

Response Returns a runAdhocActivityResponse 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:runAdhocActivityRequest>
         <proc:processID>pvm:0a122</proc:processID>
         <proc:activityName>ManualAdhocActivitySimplyInspectclaims</proc:activityName>
      </proc:runAdhocActivityRequest>
   </soapenv:Body>
</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <runAdhocActivityResponse xmlns="http://www.tibco.com/bx/2009/management/processManagerType">
         <status>COMPLETED</status>
      </runAdhocActivityResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>