IdM offers scheduled tasks for recalculation of automatic roles.
There are two types of automatic roles - based on organisation structure and based on attribute. There are also two types of scheduled tasks - to recalculate single automatic role and to recalculate all roles of specific types. Combination of these gives us 4 basic scheduled tasks as listed in following table:
Scheduled task name | Scheduled task code |
---|---|
Recalculate automatic role by attribute | ProcessAutomaticRoleByAttributeTaskExecutor |
Recalculate all automatic roles by attribute | ProcessAllAutomaticRoleByAttributeTaskExecutor |
Recalculate automatic role by tree structure for contracts and positions | ProcessAutomaticRoleByTreeTaskExecutor |
Recalculate all automatic roles by tree structure for contracts and positions | ProcessAllAutomaticRoleByTreeTaskExecutor |
These task are not created in scheduled tasks by default, but they can be added and run manually. Once added they can also be scheduled to run later or repeatedly.