There is a method to return users depending a position. You can obtain a list of the users who hold a certain Position within the organization using the getUsersForPosition function.This function will return a list of user's identifiers that comply with the Position.
Dear Rabah,
There is a method to return users depending a position. You can obtain a list of the users who hold a certain Position within the organization using the getUsersForPosition function.This function will return a list of user's identifiers that comply with the Position.
The syntax of the function is:
For further information: http://help.bizagi.com/bpm-suite/en/index.html?get_users_based_on_the_organiz.htm
Dear Juan,
I have created some positions under organization (see attached file).
i have also created an expression to retrieve the list of users depending of the position as follow:
UsersArray=CHelper.getUsersForPosition("IT-Manager");
I did some tests wwith differeent positions name.
The result was empty for all the different positions tested except for Administrator.
How can you explaain this issue (i used position name as parameter name and not the display name)
Thanks & best regards
Comments have been locked on this page!