How to assign a task to a particular person?

0
Hi, I have an application where the employee creates a new request. Once, the request is submitted, it should get assigned to the employee's respective manager. (When the employee logs in, all the information along with Manager name and email id is fetched.) How can this be achieved?
asked
2 answers
0

For this, more information is needed. Usually, it is done using the association between the current_user and his manager. You could consider a new many to one *:1 association between your user entity and the user entity itself. Rename the association to user_manager.  

answered
0

Guess you are using a workflow, aren’t you? If not, have a look in Mx 9.12.2, because this is for certain a use-case for it.

Upon task change, you trigger a microflow that selects the employee’s manager. Do this like in 4.2 of this doc: https://docs.mendix.com/studio/workflows/#system

answered