TaskList API pageSize parameter issue

When I pass any value to the pageSize parameter in the task search api with camunda version 8.3
It returns 50 tasks whatever the value is greater or less than 50
I tried it from TaskList API and from tasklist java client and the same 50 items returned whatever the value passed

Hello @Mohamed_Ahmed_Mohame ,

can you please provide further details:

  • what is the exact Camunda 8 version you are using?
  • are you using Tasklist REST API or GraphQL?
  • can you provide a snippet of the query you are using?

Best regards,

Hello houssain
I am using Camunda version 8.3.3 (Self-managed) with elastic-search version 8.9.1
I am using the rest api of the tasklist & I tried also the java client for tasklist
Here 's example for what I say

[This is the api Post request](http://localhost:8080/v1/tasks/search)

requestBody = {
    "state": "CREATED",
    "pageSize": 10
}

Hi @Mohamed_Ahmed_Mohame ,

I could not reproduce your issue with 8.3.3. In the response, I get a number of tasks equal to the one requested in pageSize.
Can you provide more details about your configuration, for example , which type of authentication you are using? did you try to fetch the next pages ?

Regards,

Hello @houssain-barouni

I am using Simple Authentication (username=demo, password=demo) with tasklist
I didn’t try to fetch the next page because I need to call the first tasks result then pass the value of order of last item to the after attribute in the java client

Best Regards,

Hi @Mohamed_Ahmed_Mohame
can you send me your query as curl command with Postman
image

Hi @houssain-barouni
This is the request

curl --location 'http://localhost:8081/v1/tasks/search' \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'Authorization: Basic ZGVtbzpkZW1v' \
--header 'Cookie: TASKLIST-SESSION=855FDB326E08534202E087C877770D69' \
--data '{
    
    "pageSize": 10
}'

& This is the response

[
    {
        "id": "2251799813698993",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-24T15:09:44.523+0200",
        "completionDate": null,
        "assignee": null,
        "taskState": "CREATED",
        "sortValues": [
            "1713964184523",
            "2251799813698993"
        ],
        "isFirst": true,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813698949",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813698804",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-24T14:58:43.352+0200",
        "completionDate": null,
        "assignee": "demo",
        "taskState": "CREATED",
        "sortValues": [
            "1713963523352",
            "2251799813698804"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813698715",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MAKER",
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813698759",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-24T14:58:26.148+0200",
        "completionDate": "2024-04-24T14:58:43.352+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713963506148",
            "2251799813698759"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813698715",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813698669",
        "name": "Review Maker's Action",
        "taskDefinitionId": "reviewMakerAction",
        "processName": "transaction-requests",
        "creationDate": "2024-04-24T14:56:41.670+0200",
        "completionDate": null,
        "assignee": null,
        "taskState": "CREATED",
        "sortValues": [
            "1713963401670",
            "2251799813698669"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813698546",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-CHECKER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813698635",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-24T14:56:13.152+0200",
        "completionDate": "2024-04-24T14:56:41.670+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713963373152",
            "2251799813698635"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813698546",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MAKER",
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813698590",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-24T14:55:43.034+0200",
        "completionDate": "2024-04-24T14:56:13.152+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713963343034",
            "2251799813698590"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813698546",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813697391",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T14:54:24.207+0200",
        "completionDate": null,
        "assignee": "demo",
        "taskState": "CREATED",
        "sortValues": [
            "1713876864207",
            "2251799813697391"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813697307",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MAKER",
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813697345",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T14:53:48.797+0200",
        "completionDate": "2024-04-23T14:54:24.207+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713876828797",
            "2251799813697345"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813697307",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813696305",
        "name": "Review Maker's Action",
        "taskDefinitionId": "reviewMakerAction",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T12:32:56.578+0200",
        "completionDate": null,
        "assignee": null,
        "taskState": "CREATED",
        "sortValues": [
            "1713868376578",
            "2251799813696305"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813696107",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-CHECKER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813696252",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T12:31:20.047+0200",
        "completionDate": "2024-04-23T12:32:56.578+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713868280047",
            "2251799813696252"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813696107",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MAKER",
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813696145",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T12:27:00.596+0200",
        "completionDate": "2024-04-23T12:31:20.047+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713868020596",
            "2251799813696145"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813696105",
        "processInstanceKey": "2251799813696107",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813695975",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T12:20:32.061+0200",
        "completionDate": null,
        "assignee": null,
        "taskState": "CREATED",
        "sortValues": [
            "1713867632061",
            "2251799813695975"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813695934",
        "processInstanceKey": "2251799813695936",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813694531",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T11:06:23.685+0200",
        "completionDate": null,
        "assignee": "demo",
        "taskState": "CREATED",
        "sortValues": [
            "1713863183685",
            "2251799813694531"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813694453",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813694501",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T11:06:00.198+0200",
        "completionDate": "2024-04-23T11:06:17.698+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713863160198",
            "2251799813694501"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813694453",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813694358",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests-group",
        "creationDate": "2024-04-23T11:00:15.537+0200",
        "completionDate": null,
        "assignee": "demo",
        "taskState": "CREATED",
        "sortValues": [
            "1713862815537",
            "2251799813694358"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690204",
        "processInstanceKey": "2251799813692065",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MAKER",
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813694283",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-23T10:57:06.316+0200",
        "completionDate": null,
        "assignee": null,
        "taskState": "CREATED",
        "sortValues": [
            "1713862626316",
            "2251799813694283"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813694234",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813692168",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests-group",
        "creationDate": "2024-04-22T15:50:29.602+0200",
        "completionDate": "2024-04-23T11:00:09.585+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713793829602",
            "2251799813692168"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690204",
        "processInstanceKey": "2251799813692065",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813691367",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T13:18:47.721+0200",
        "completionDate": null,
        "assignee": null,
        "taskState": "CREATED",
        "sortValues": [
            "1713784727721",
            "2251799813691367"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813691176",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department2_MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813691310",
        "name": "Review Maker's Action",
        "taskDefinitionId": "reviewMakerAction",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T13:18:12.457+0200",
        "completionDate": "2024-04-22T13:18:35.371+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713784692457",
            "2251799813691310"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813691176",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-CHECKER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813691286",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T13:17:44.335+0200",
        "completionDate": "2024-04-22T13:18:03.408+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713784664335",
            "2251799813691286"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813691176",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813691223",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T13:15:12.987+0200",
        "completionDate": "2024-04-22T13:17:34.836+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713784512987",
            "2251799813691223"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813691176",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813691064",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T13:08:16.120+0200",
        "completionDate": null,
        "assignee": null,
        "taskState": "CREATED",
        "sortValues": [
            "1713784096120",
            "2251799813691064"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813690636",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813690933",
        "name": "Review Maker's Action",
        "taskDefinitionId": "reviewMakerAction",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T13:03:13.051+0200",
        "completionDate": "2024-04-22T13:08:06.117+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713783793051",
            "2251799813690933"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813690636",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-CHECKER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813690743",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T12:53:02.198+0200",
        "completionDate": "2024-04-22T13:03:03.389+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713783182198",
            "2251799813690743"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813690636",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813690683",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T12:50:48.897+0200",
        "completionDate": "2024-04-22T12:52:52.870+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713783048897",
            "2251799813690683"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813690636",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813690519",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T12:44:03.901+0200",
        "completionDate": null,
        "assignee": "Admin2",
        "taskState": "CREATED",
        "sortValues": [
            "1713782643901",
            "2251799813690519"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813690230",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813690278",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-22T12:31:26.717+0200",
        "completionDate": "2024-04-22T12:43:54.308+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713781886717",
            "2251799813690278"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813690202",
        "processInstanceKey": "2251799813690230",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813688992",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T14:42:18.834+0200",
        "completionDate": null,
        "assignee": "Admin2",
        "taskState": "CREATED",
        "sortValues": [
            "1713703338834",
            "2251799813688992"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813688915",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813688962",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T14:41:55.157+0200",
        "completionDate": "2024-04-21T14:42:09.754+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713703315157",
            "2251799813688962"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813688915",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813687059",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:52:50.373+0200",
        "completionDate": null,
        "assignee": "demo",
        "taskState": "CREATED",
        "sortValues": [
            "1713696770373",
            "2251799813687059"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686959",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813687006",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:51:09.354+0200",
        "completionDate": "2024-04-21T12:52:44.255+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713696669354",
            "2251799813687006"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686959",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813686811",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:42:22.589+0200",
        "completionDate": null,
        "assignee": null,
        "taskState": "CREATED",
        "sortValues": [
            "1713696142589",
            "2251799813686811"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686763",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813686632",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:34:12.025+0200",
        "completionDate": null,
        "assignee": "demo",
        "taskState": "CREATED",
        "sortValues": [
            "1713695652025",
            "2251799813686632"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686554",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813686602",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:33:51.771+0200",
        "completionDate": "2024-04-21T12:34:06.509+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713695631771",
            "2251799813686602"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686554",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813686551",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:33:45.622+0200",
        "completionDate": null,
        "assignee": "Admin2",
        "taskState": "CREATED",
        "sortValues": [
            "1713695625622",
            "2251799813686551"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686475",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813686522",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:33:24.119+0200",
        "completionDate": "2024-04-21T12:33:37.682+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713695604119",
            "2251799813686522"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686475",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813686398",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:28:53.692+0200",
        "completionDate": null,
        "assignee": "demo",
        "taskState": "CREATED",
        "sortValues": [
            "1713695333692",
            "2251799813686398"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686321",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813686368",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T12:28:31.951+0200",
        "completionDate": "2024-04-21T12:28:46.973+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713695311951",
            "2251799813686368"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813686321",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    },
    {
        "id": "2251799813685567",
        "name": "Fulfill Request",
        "taskDefinitionId": "fulfillRequest",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T10:09:24.685+0200",
        "completionDate": null,
        "assignee": "demo",
        "taskState": "CREATED",
        "sortValues": [
            "1713686964685",
            "2251799813685567"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813685486",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": null,
        "candidateUsers": null
    },
    {
        "id": "2251799813685533",
        "name": "Assign Fulfiller",
        "taskDefinitionId": "assignFulfiller",
        "processName": "transaction-requests",
        "creationDate": "2024-04-21T10:08:44.659+0200",
        "completionDate": "2024-04-21T10:09:18.884+0200",
        "assignee": "demo",
        "taskState": "COMPLETED",
        "sortValues": [
            "1713686924659",
            "2251799813685533"
        ],
        "isFirst": false,
        "formKey": null,
        "processDefinitionKey": "2251799813685251",
        "processInstanceKey": "2251799813685486",
        "tenantId": "<default>",
        "dueDate": null,
        "followUpDate": null,
        "candidateGroups": [
            "department1-MANAGER"
        ],
        "candidateUsers": null
    }
]

Same issue here, when I call camunda taskList API everything works but while using CamundaTaskListClient result is always bigger than what i set in Pagination

Hi @Mohamed_Ahmed_Mohame I also wasn’t able to reproduce the issue that you are facing, using the exact same request that you shared (I’ve just changed the Cookie to authenticate), I’m not facing any pagination issues on version 8.3.3.

If my understanding is correct for you this behavior is happening even on PostMan can you confirm that?

Yes it’s happening in postman and in the java client also

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.