Hi Sachin,
you can refer the below forum link for assigning the user directly to a task.
https://forum.mendix.com/link/space/workflows/questions/109218