Retrieve Data Objects by Open Activity ID
/ic/api/process/v1/processes/{processId}/activities/{activityId}/dataobjects
Request
-
activityId(required): string
value of selected Open Activity ID
-
processId(required): string
Value of process ID
-
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
- application/json
200 Response
object
-
editable:
boolean
-
expressionString:
string
-
name:
string
-
namespaceMapping:
object namespaceMapping
Additional Properties Allowed: additionalProperties
-
type:
object QName
-
value:
string
object
object
400 Response
401 Response
404 Response
500 Response
Examples
The following example shows how to retrieve data objects for the specified open activity by submitting a GET request on the REST resource:
Send Request
https://example.com/ic/api/process/v1/processes/{processId}/activities/{activityId}/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.
-
<activityId> is the ID of the open activity for which you want to retrieve the data objects.
For example, 1. You can get the <activityId> using Retrieve Open activities for a Process Instance.
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" }, ] }