Hi!
You can do this of course with a microflow but using the Mendix Workflow would be a great place to start as well. You can asign tasks in the workflow based on userrole or a custom logic in a microflow.
Check out this learning path: https://academy.mendix.com/link/paths/112/Build-a-Powerful-Workflow