REST API - listProcessInstances
The table summarizes the REST API - listProcessInstances.
Request
| Format | GET <baseurl>/process/list/instance/<module>/<process>/<version> |
| Path parameters |
|
Response
| JSON | Returns a JSON representation of the content of the processInstances element. |
| XML | Returns the content of the processInstances element (from the ProcessManagement schema). |
Example
| Request | GET <baseurl>/process/list/instance/HelpDesk%2FProcess%20Packages%2FHelpDesk.xpdl/InternalHelpDeskA/1.0.0.201210231049 |
| Response | {
"proc:processInstance": {
"@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType",
"proc:processQName": {
"proc:moduleName": "/HelpDesk/Process Packages/HelpDesk.xpdl",
"proc:processName": "InternalHelpDeskA",
"proc:version": "1.0.0.201210231049"
},
"proc:id": "pvm:0a12m",
"proc:state": "ACTIVE",
"proc:startTime": "2013-01-18T10:23:31.250-08:00",
"proc:completionTime": {
"@xsi:nil": "true",
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance"
},
"proc:waitingWorkCount": "1"
}
}
|
Copyright © Cloud Software Group, Inc. All rights reserved.
