Discussion about developing the ProcessMaker application and suggestions for improving it
By aldopaee
#826276
Hi
How do I edit the users page and add the manager field
Attachments
Untitled.png
Untitled.png (17.61 KiB) Viewed 9745 times
User avatar
By amosbatto
#826301
Why can't you use Departments and assign managers that way?

If you want to hack the source code, the edit user page is generated by the JavaScript code in:
workflow/engine/templates/users/users.js

This page is displayed by:
workflow/engine/methods/users/usersEdit.php

When the user form is submitted, it is processed by:
workflow/engine/methods/users/usersAjax.php
Look for the code under:
Code: Select all
    case 'saveUser':
    case 'savePersonalInfo':
I don't recommend hacking the source code. It is much easier to simply add your directory structure in a PM table and query that and use Value Based Assignment, instead of Reports To assignment for your tasks.
By aldopaee
#826312
Hello my friend
I added my code and it worked fine
Thank you from my heart
Attachments
New Bitmap Image.jpg
New Bitmap Image.jpg (62.71 KiB) Viewed 9700 times

Thanks for the link, amosbatto! I was searching fo[…]

Hello Please can you help me with the place where […]

Hi there, I have 3.5.7, 3.8.1 and 3.8.2 versi[…]

AI bot development involves creating intelligent b[…]