Hi @StephanHaarmann. How can we claim a user task in camunda 8 self managed cluster via Rest call. If it is possible could you please provide a sample of the rest call ?
Currently, there is no REST API for tasklist or zeebe. Therefore, you cannot claim and complete a user task via REST. Your current options are:
- Writing a task worker thathandles user tasks.
- Use the GraphQL API of tasklist
Hi @StephanHaarmann I am trying to access GraphQL API via postman.
URL- http://localhost:8080/graphql
Body -
{
tasks(query: { state: COMPLETED }) {
id
name
taskState
}
}
Header - Bearer Token
But getting 404 not found.
Could you please help me to resolve this? What is wrong in this ?
Are you running C8 via the offical docker-compose file or helm-chart? If so, the port of tasklist is 8081
.
- Can you reach the tasklist UI via http://localhost:8080? If not, try http://localhost:8081
- Can you execute a more minimal graphql query?
{
tasks(query: {}) {
name
}
}