Camunda 8 graphql mutation claimTask

Hi,

I am trying to claim a task by using graphQL mutation claimTask but I am receiving “Access is denied”.

I access the API with a token as described here: Authentication | Camunda Platform 8

I am able to query the tasks but not to run the mutation.

The user uvali has permission on Tasklist application:

I tried even with “assignee” set to the userid.

Any idea?

Thanks,
Valentin

P.S.

The stack is Camunda 8.0.4 docker-compose GitHub - camunda/camunda-platform: Camunda Platform 8

1 Like

Hi @valiu,

Could you check if this thread will be helpful in your case?

Best,
Aleksander

Thanks, but is my own thread and is referring to get the token then the task list :slight_smile:
Now, I move forward and I want to claim a task.

Regards,
Valentin

I figured out why I received “Access is denied”.

“Tasklist application” did not have write permission on “Tasklist API”.
So, I added the permission and now I can claim a task by GraphQL API.

Thanks,
Valentin

2 Likes