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(required): string
Value of process ID
Query Parameters
-
includeInstanceAttributes: boolean
Include instance level attributesDefault Value:
false -
suspendInstance: 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: string
Data Objects Structure Type - flat or treeDefault Value:
flat
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : IVariableItem
Type:
Show Source
object-
editable:
boolean
-
expressionString:
string
-
name:
string
-
namespaceMapping:
object namespaceMapping
Additional Properties Allowed: additionalProperties
-
type:
object QName
-
value:
string
Nested Schema : IterableILocationInfo
Type:
objectNested Schema : loopCounter
Type:
object400 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}/dataobjectswhere
-
example.comis 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"
},
]
}