Page 1 of 1

make super manager to dept

Posted: Mon Aug 26, 2019 6:15 am
by aldopaee
ImageI have the following users
User 1
User 2
User 3
User 4
Create Dept1 with the following users
User 2 Manager
User 3
User 4

How to make User 1 Manager to User 2 ??

Users------------Manager
______________________
User 1------------> Super
User 2------------> User1
User 3------------>User2
User 4------------>User2

Re: make super manager to dept

Posted: Mon Aug 26, 2019 10:12 pm
by amosbatto
You need to create Departments and set the managers in each department so users will have a "Reports To" user.

Re: make super manager to dept

Posted: Mon Aug 26, 2019 10:33 pm
by aldopaee
Thank you my friend for the reply ..
My problem is that some users admins to more than one dept at the same time

Can I edit the manager from the user control panel? How do I show the manager field as in the picture

Re: make super manager to dept

Posted: Mon Aug 26, 2019 11:26 pm
by amosbatto
Users can only be members of one department. You can consolidate your Departments so that all users are only in one department.

Another option is to use Value Based Assignment in place of the Reports To assignment rule. Create a PM Table that holds the department information and then use executeQuery() in triggers to look up who the current @@USER_LOGGED reports to in the PM Table and then assign the ID of that user to the variable used by Value Based Assignment.