REST API - listAdhocActivities (using process ID)
The table summarizes the REST API - listAdhocActivities.
Request
| Format |
GET <baseurl>/process/adhoc/listbyid/<processid> |
| Path parameters | processid: Unique ID for the process instance whose ad-hoc activities are to be listed. Can be obtained from listProcessInstances, queryProcessInstances, and queryProcessInstancesAlt. |
Response
| JSON | Returns a JSON representation of the content in the listAdhocActivitiesResponse element. |
| XML | Returns the content in the listAdhocActivitiesResponse element (from the ProcessManagement schema). |
Example
| Request |
GET <baseurl>/process/adhoc/listbyid/pvm:0a122 |
| Response |
{
"xml-fragment": {
"proc:activity": [
{
"-name": "ManualAdhocActivitySimplyInspectclaims",
"-xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType",
"proc:processID": "pvm:0a122",
"proc:enabled": "true",
"proc:inProgress": "true",
"proc:repeatable": "true",
"proc:automatic": "false",
"proc:completedCount": "0"
},
{
"-name": "AutomaticAdhocActivitySimplyInspectclaims",
"-xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType",
"proc:processID": "pvm:0a122",
"proc:enabled": "true",
"proc:inProgress": "true",
"proc:repeatable": "true",
"proc:automatic": "true",
"proc:completedCount": "0"
}
]
}
}
|
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
