Getting error in workflow The user task can only be completed by named user.

Hello All, I have a parallel split in my workflow. I have a use case like If I am denying a task from Technical Approver then in the deny flow of Technical approver I need to deny the task of commercial approver as well. In the denial flow of Technical approver I am calling a microflow retrieving the commercial approver user task and denying it, but while executing this activity I am getting a error like The user task can only be completed by named user.  
2 answers

Hi Amit,

you can use ‘ExecuteMicroflowasUser’ in community commons to call the microflow which completed the  commercial approver user task


Refer the below forum link for the same error


Hope it helps!!!


Hi Amit


The error seems to be something linked to permissions of users. I think the user with whom you are logged in when denying on the technical part does not have the permissions to make a decision in the commercial part because the task is not assigned to them. Perhaps you could check whether that is the case? Because if the assignee is not the user you are logged in with, you should not be able to change that. However you can normally write a microflow where you change the assignee to the user currently doing the change.


Let me know if this has helped