SOAP API - cancelAdhocActivity
The table summarizes the SOAP API - cancelAdhocActivity.
Request | Uses the
cancelAdhocActivityRequest 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, including the currently active ad-hoc activities. |
Response | Returns a cancelAdhocActivityResponse 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:cancelAdhocActivityRequest> <proc:processID>pvm:0a122</proc:processID> <proc:activityName>SendForToSubProcess2</proc:activityName> </proc:cancelAdhocActivityRequest> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <cancelAdhocActivityResponse xmlns="http://www.tibco.com/bx/2009/management/processManagerType"> <status>COMPLETED</status> </cancelAdhocActivityResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.