Hi,
I’m having a problem in a multi-tenancy scenario when trying to assign a task. I saw some similar old issues in the forum, but the problem doesn’t look to be the same.
To clarify, I’m starting a new instance of the process, a job worker does its work, and the user task is reached.
The screen shows a confusing message when I try to assign it to me about a problem accessing the service, and the logs show the next message:
io.camunda.zeebe.client.api.command.ProblemException: Failed with code 404: 'Not Found'. Details: 'class ProblemDetail {
type: about:blank
title: NOT_FOUND
status: 404
detail: Command 'ASSIGN' rejected with code 'NOT_FOUND': Expected to assign user task with key '2251799813687717', but no such user task was found
instance: /zeebe/v2/user-tasks/2251799813687717/assignment
}'
The task is a Zeebe user task as you can see in the image:
And the task id is the same as shown in Operate:
{
"flowNodeType": "USER_TASK",
"flowNodeId": "Activity_SelectWorkflow",
"startDate": "2025-04-03 23:42:26",
"eventId": "2251799813687702_2251799813687715",
"formKey": 2251799813687652,
"action": "",
"changedAttributes": [],
"assignee": "",
"userTaskKey": 2251799813687717,
"variables": {},
"candidateGroups": [
"Release managers"
],
"candidateUsers": [],
"tenantId": "cicd",
"endDate": null,
"jobDeadline": null,
"incidentErrorType": null,
"incidentErrorMessage": null,
"flowNodeInstanceKey": "2251799813687715"
}
This happens with all the users. I created a user with all the possible permissions to discard a permission related problem. It has access to all tenants, all authorizations and all the roles.
I tried, also, to remove the Candidate groups configured for the task, but the same result was achieved.
Does anyone have any clue about the problem with this?
Regards,
Rodrigo