SOAP API - listAdhocActivities
The table summarizes the SOAP API - listAdhocActivities.
Request | Uses the
listAdhocActivitiesRequest element (from the
ProcessManagement
schema).
|
Parameter notes | processID: Can be obtained from
listProcessInstances,
queryProcessInstances, and
queryProcessInstancesAlt.
globalDataRef: Can be obtained from findCaseByCID or findCaseByCriteria. |
Response | Returns a listAdhocActivitiesResponse 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:listAdhocActivitiesRequest> <proc:processID>pvm:0a122</proc:processID> <proc:globalDataRef></proc:globalDataRef> </proc:listAdhocActivitiesRequest> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <listAdhocActivitiesResponse xmlns="http://www.tibco.com/bx/2009/management/processManagerType"> <adhocActivities> <activity name="ManualAdhocActivitySimplyInspectclaims"> <processID>pvm:0a122</processID> <enabled>true</enabled> <inProgress>true</inProgress> <repeatable>true</repeatable> <automatic>false</automatic> <completedCount>0</completedCount> </activity> <activity name="AutomaticAdhocActivitySimplyInspectclaims"> <processID>pvm:0a122</processID> <enabled>true</enabled> <inProgress>true</inProgress> <repeatable>true</repeatable> <automatic>true</automatic> <completedCount>0</completedCount> </activity> </adhocActivities> </listAdhocActivitiesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.