A role describes a specific function
within a company (e.g. supervisor, HR department, apprentice support, etc.).
There are 2 use cases for the role in Webdesk EWP:
The role assignment also gives the user a defined access authorization to certain areas (e.g. certain forms) and functions, such as information lists. This action permissions can be extended or restricted at any time. This is done by determining the competence target (defines who is allowed to be viewed):
The role is assigned either via the role itself, via the person master sheet or via a group. The role also fulfills certain functions in the process flow (applications). Here, the role holder can perform defined activities, such as approving, rejecting or viewing an application.
In contrast to organizational structures (groups, loose groups, cost centres), a role cannot be evaluated. This means that no information functions can take a role into account when querying information. To make this possible, the role owners would have to be grouped together in a loose group.
A competence target is a person or group for which the role holder is responsible or which may be viewed.
There are 4 possibilities here:
If the competence target is ALL, all employees of the company are viewed. It is possible to assign several competence objectives at the same time.
In our experience, dynamic role filling is only used for the “colleague” role. This saves the selection of individual group colleagues by automatically filling all colleagues from a defined group dynamically into this role.
The organizational type of the role significantly determines the behaviour when searching for role owners in workflows or when determining a deputy.
Possible organizational types of the role are
Specifically, the groups of the defined organization type are searched for possible role owners in the context of the current process author if there are no direct assignments.
The search for hierarchical role owners takes place in 2 phases:
The search for a role holder follows the following strategy; a meaningful ranking can only be made if this is really understood. Ranking alone is not sufficient for this.
Direct assignments are always the strongest factor: e.g. person A has role R with competence target person B. Person A has the role R with the competence target person B. If this assignment is given, person A will always be in first place (the exception would be if there were several direct assignments, with person A having a lower ranking). The same also applies to groups, i.e. if there is a direct assignment of a group G to person A, all persons in group G are role holders with competence for person B.
Now there are two distinctions:
There is at least one direct assignment
After the direct assignments of the resulting set of role holders for a person B have been determined, the dynamic role holders are also added. (at this stage, however, only those who do not have All as a competence target).
Now the assigned groups of the person are examined. (The direction of inheritance must be taken into account here) If it is set that the hierarchical group is to be taken into account, the hierarchical group is examined (are there assignments, whereby the hierarchical group is the competence target) and then the direction of inheritance, on the other hand the next level is immediately considered (depending on the direction of inheritance upwards, downwards or not at all).
There are no direct assignments
If there are no direct assignments, the dynamic role holders are examined and added to the result set. The groups (including the hierarchical groups, even if the flag is set not to take the hierarchical group into account) are then examined. The direction of inheritance must also be observed here.
Finally (valid for both variants)
Now the dynamic role holders with competence target All are added. The result is then extended to include general role holders (competence target All).
The search direction determines the direction when searching for defined role owners (e.g. in a workflow process):
If the search direction is set to “none”, the search for a role holder only takes place within the group or department. The search is not continued outside the group/department. If there is no suitable role holder in the group/department, the process is stopped.
Starting from the group in which the applicant is located, the organization chart is searched upwards for role holders of the role. As soon as a role holder is found, this is used as the role holder for the applicant's process (in this example, it is the role “Supervisor”).
If there is no role holder in the parent group, the search continues until a role holder is found (in this example, the search is for the role of “Manager”):
Starting from the group in which the requester is located, the organization chart is searched downwards for the role holder of the role. In the case of the sickness report, the organization chart is searched for the role “Colleague”; all those who have the role “Colleague” are displayed.