# Camunda 8 Self Managed

**URL:** <https://forum.camunda.io/t/camunda-8-self-managed/48356>\
**Category:** Camunda 8 Topics\
**Created:** [October 23, 2023, 11:04am UTC](https://forum.camunda.io/t/camunda-8-self-managed/48356 "2023-10-23T11:04:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Supriya](https://forum.camunda.io/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@Supriya](https://forum.camunda.io/u/Supriya)\
**Post date:** [October 23, 2023, 11:04am UTC](https://forum.camunda.io/t/camunda-8-self-managed/48356/1 "2023-10-23T11:04:16Z")

</div>

Hello Team,  
i am new for Camunda 8  
i want to call operate as well as tasklist (all the user task) via REST APi from start to end task ? how i will call ?

---

<div class="post-metadata">

**Author:** ![StephanHaarmann](https://forum.camunda.io/user_avatar/forum.camunda.io/stephanhaarmann/32/21924_2.png) [@StephanHaarmann](https://forum.camunda.io/u/StephanHaarmann)\
**Post date:** [October 24, 2023, 7:24am UTC](https://forum.camunda.io/t/camunda-8-self-managed/48356/2 "2023-10-24T07:24:58Z")

</div>

Hello @Supriya,

You can use the [Tasklist API](https://docs.camunda.io/docs/apis-tools/tasklist-api-rest/tasklist-api-rest-overview/) to retrieve and complete user tasks:

1. Search for the available tasks:  
[Task API | Camunda 8 Docs](https://docs.camunda.io/docs/apis-tools/tasklist-api-rest/controllers/tasklist-api-rest-task-controller/#search-tasks)
2. (Optional) Assign a task to a user:  
[Task API | Camunda 8 Docs](https://docs.camunda.io/docs/apis-tools/tasklist-api-rest/controllers/tasklist-api-rest-task-controller/#assign-task)
3. Complete the task:  
[Task API | Camunda 8 Docs](https://docs.camunda.io/docs/apis-tools/tasklist-api-rest/controllers/tasklist-api-rest-task-controller/#complete-task)

Upon task completion, the process will be advanced to the next element. You can repeat the steps above to get a up-to date list of tasks.

---

<div class="post-metadata">

**Author:** ![Supriya](https://forum.camunda.io/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@Supriya](https://forum.camunda.io/u/Supriya)\
**Post date:** [October 24, 2023, 7:36am UTC](https://forum.camunda.io/t/camunda-8-self-managed/48356/3 "2023-10-24T07:36:04Z")

</div>

yes got it thank you  
/v1/tasks/{taskId}/complete while using this endpoingt i n the body i am using {  
“variables”: [  
{  
“name”: “Level1”,  
“value”: “Approved”  
}  
]  
} but facing 500 error also i put in INPUT tab in the modeler

1. only empty json i use then it is working for complete task  
any specific reason

---

<div class="post-metadata">

**Author:** ![GotnOGuts](https://forum.camunda.io/letter_avatar_proxy/v4/letter/g/b77776/32.png) [@GotnOGuts](https://forum.camunda.io/u/GotnOGuts)\
**Post date:** [October 24, 2023, 6:00pm UTC](https://forum.camunda.io/t/camunda-8-self-managed/48356/4 "2023-10-24T18:00:33Z")

</div>

> [@Supriya](#):
>
> in the body i am using
> 
> ```auto
> {
> "variables": [
> {
> "name": "Level1",
> "value": "Approved"
> }
> ]
> }
> 
> ```

Can you try it with

```auto
{
   "variables": [
      {
             "name": "Level1",
             "value": "\"Approved\""
     }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![Supriya](https://forum.camunda.io/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@Supriya](https://forum.camunda.io/u/Supriya)\
**Post date:** [October 25, 2023, 12:09pm UTC](https://forum.camunda.io/t/camunda-8-self-managed/48356/5 "2023-10-25T12:09:01Z")

</div>

@GotnOGuts Thank you it is working now

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [November 1, 2023, 12:09pm UTC](https://forum.camunda.io/t/camunda-8-self-managed/48356/6 "2023-11-01T12:09:18Z")

</div>

Closed on November 1, 2023, 12:09pm UTC

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