Retrieve Open activities for a Process Instance
get
/ic/api/process/v1/processes/{processId}/activities
Retrieves a process instance's open activities. To retrieve the outcome of all activities, use the API /processes//approval.
Request
Path Parameters
-
processId(required): string
value of instance Id
Response
Supported Media Types
- application/json
200 Response
Success
400 Response
Bad Request.
401 Response
Unauthorized
404 Response
Not Found
500 Response
Internal Server Error
Examples
The following example shows how to retrieve open activities by submitting a GET request on the REST resource:
Send Request
https://example.com/ic/api/process/v1/processes/{processId}/activities
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
{ "levels": 0, "openActivities": [ { "id": "ACT4b60e9aa3d738847e732c6ab8a9c7adc", "displayName": "User task", "processId": "1", "taskNumber": 200002 } ], "links": [ { "length": 0, "rel": "canonical", "href": "http://example.com/ic/api/process/v1/processes/1/activities" }, { "length": 0, "rel": "parent", "href": "http://example.com/ic/api/process/v1/processes/1" }, { "length": 0, "rel": "self", "href": "http://example.com/ic/api/process/v1/processes/1/activities" } ] }