Does flowable has rest api for ActivityInstance

I want to get ActivityInstance by instanceId which is similar to Camunda ActivityInstance.

I am looking for flowable rest api. Could you please help me out on this.

Hey @deve,

Yes we have that.

Have a look at

This 2 are GET query requests. We also have POST Query Requests:

Cheers,
Filip

Thanks for the response @filiphr
These I have gone through but these api response doesnt seems to be like Camunda Instance Activities.
Also Please note, I am not looking for history activity.
I am looking for instance activties.

Can you help me on this.

@deve, I shared both runtime and historic links. Why are you saying that they are not what you are looking for. Can you perhaps clarify what you tried and why that isn’t working?

Hi @filiphr , Thanks for the quick reply.

actually I am expecting like.
example camunda response is. also its single response

    {
    "id": "some-unique-id",
    "activityId": "testActivity:1:some-activity-id",
    "activityType": "processDefinition",
    "processInstanceId": "some-process-instance-id",
    "processDefinitionId": "some-process-definition-id",
    "childActivityInstances": [
        {
            "id": "Task_DIjG2Gxz8G:b9e16330-4602-11f0-9313-0affff2c8293",
            "parentActivityInstanceId": "b9e1632b-4602-11f0-9313-0affff2c8293",
            "activityId": "Task_DIjG2Gxz8G",
            "activityType": "userTask",
            "processInstanceId": "some-process-instance-id",
            "processDefinitionId": "some-process-definition-id",
            "childActivityInstances": [],
            "childTransitionInstances": [],
            "executionIds": [
                "b9e1632b-4602-11f0-9313-0affff2c8293"
            ],
            "activityName": "Initial Review",
            "incidentIds": [],
            "incidents": [],
            "name": "Initial Review"
        }
    ],
    "childTransitionInstances": [],
    "executionIds": [
        "b9e1632b-4602-11f0-9313-0affff2c8293"
    ],
    "activityName": "Document Approval",
    "incidentIds": [],
    "incidents": [],
    "name": "Document Approval"
}

and flowable runtime response is. also response is an array

{
    "data": [
        {
            "id": "some-unique-id-12345",
            "activityId": "StartEvent_6DoLgMisXi",
            "activityName": "Initial Review",
            "activityType": "startEvent",
            "processDefinitionId": "some-process-definition-id",
            "processDefinitionUrl": "some-process-definition-url",
            "processInstanceId": "some-process-instance-id",
            "processInstanceUrl": "some-process-instance-url",
            "executionId": "some-execution-id",
            "taskId": null,
            "calledProcessInstanceId": null,
            "assignee": null,
            "startTime": "2025-06-10T11:08:07.924+05:30",
            "endTime": "2025-06-10T11:08:07.929+05:30",
            "durationInMillis": 5,
            "tenantId": "default"
        },
        {
            "id": "some-unique-id-67890",
            "activityId": "SequenceFlow_rVvmyhn8bb",
            "activityName": "",
            "activityType": "sequenceFlow",
            "processDefinitionId": "some-process-definition-id",
            "processDefinitionUrl": "some-process-definition-url",
            "processInstanceId": "some-process-instance-id",
            "processInstanceUrl": "some-process-instance-url",
            "executionId": "some-execution-id",
            "taskId": null,
            "calledProcessInstanceId": null,
            "assignee": null,
            "startTime": "2025-06-10T11:08:07.932+05:30",
            "endTime": "2025-06-10T11:08:07.932+05:30",
            "durationInMillis": 0,
            "tenantId": "default"
        },
        {
            "id": "some-unique-id-67890",
            "activityId": "Task_DIjG2Gxz8G",
            "activityName": "Initial Review",
            "activityType": "userTask",
            "processDefinitionId": "some-process-definition-id",
            "processDefinitionUrl": "some-process-definition-url",
            "processInstanceId": "some-process-instance-id",
            "processInstanceUrl": "some-process-instance-url",
            "executionId": "some-execution-id",
            "taskId": "be3919ad-eb19-4dfe-b79e-d0c8e34f42ea",
            "calledProcessInstanceId": null,
            "assignee": null,
            "startTime": "2025-06-10T11:08:07.932+05:30",
            "endTime": null,
            "durationInMillis": null,
            "tenantId": "default"
        }
    ],
    "total": 3,
    "start": 0,
    "sort": "startTime",
    "order": "asc",
    "size": 3
}

since I am shifting from camunda to flowable, I need response same like camunda.

Thanks

As you can imagine Flowable and Camunda are not 100% the same. There are certain differences in certain places. Instead of trying to look for the identical responses in Flowable, I would advise you to take a step back and try to explain to use what your business use case is for this. Perhaps we have a different approach to achieve the same thing.

Cheers,
Filip