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
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : OpenActivityResponse
Type: object
Show Source
Nested Schema : openActivities
Type: array
Show Source
Nested Schema : SimpleOpenActivityInfo
Type: object
Show Source

400 Response

Bad Request.

401 Response

Unauthorized

404 Response

Not Found

500 Response

Internal Server Error
Back to Top

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"
        }
    ]
} 
Back to Top