REST API - runAdhocActivity
The table summarizes the REST API - runAdhocActivity.
Request
| Format | POST <baseurl>/process/adhoc/run/<processid>/<activityID> |
| Path parameters | processid: Can be obtained from
listProcessInstances,
queryProcessInstances, and
queryProcessInstancesAlt.
activityID: Can be obtained from listAdhocActivities, which lists all ad-hoc activities for the specified process instance. (Note that the activity ID is listed as "name" in the response from listAdhocActivities.) |
Response
| JSON | Returns a JSON representation of the content in the runAdhocActivityResponse element. |
| XML | Returns the content in the runAdhocActivityResponse element (from the ProcessManagementschema). |
Example
| Request | POST <baseurl>/process/adhoc/run/pvm:0a124/ManualAdhocActivitySimplyInspectclaims |
| Response | {
"proc:status": {
"-xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType",
"#text": "COMPLETED"
}
}
|