Retrieve Data Objects for a Process Instance
get
/ic/api/process/v1/processes/{processId}/dataobjects
Retrieves data objects for a process instance at the process level.
Request
Path Parameters
-
processId: string
Value of process ID
Query Parameters
-
includeInstanceAttributes(optional): boolean
Include instance level attributesDefault Value:
false
-
suspendInstance(optional): boolean
Suspend Instance or not - to prevent the instance from moving between the time the user gets the open activities and work upon themDefault Value:
false
-
type(optional): string
Data Objects Structure Type - flat or treeDefault Value:
flat
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : IterableILocationInfo
Type:
object
Nested Schema : loopCounter
Type:
object
400 Response
Bad Request.
401 Response
Unauthorized
404 Response
Not Found
500 Response
Internal Server Error
Examples
The following example shows how to retrieve data objects for a process instance at the process level by submitting a GET request on the REST resource:
Send Request
https://example.com/ic/api/process/v1/processes/{processId}/dataobjects
where
-
example.com
is the host where Oracle Integration is running. -
<version> is the REST API version.
-
<Process ID> is the ID of the process.
For example, 1. You can get the <Process ID> using Retrieves Process Instance List.
Example of Response Header
Status Code: 200 OK
Example of Response Body
{ "dataVariableNodesFlatRes": [ { "levels": 0, "editable": true, "name": "startWebFormDataObject", "nodeType": "NODE_TYPE_VARIABLE", "scope": "MainProcess", "value": "{ \"travelPurpose\" : \"tsss\" , \"cost\" : \"134\" }" }, { "levels": 0, "editable": true, "name": "TaskOutcomeDataObject", "nodeType": "NODE_TYPE_VARIABLE", "scope": "MainProcess" }, { "levels": 0, "editable": false, "name": "ownerType", "nodeType": "NODE_TYPE_INSTANCE_ATTRIBUTE", "scope": "MainProcess", "value": "ROLE" }, ] }