Attribute "Workhours" Utility function:
Employee's educational level | Employee workhours | OU workhours | Employee work experience | Workhours | |
1 | * | * | * | 40+ years | not appropriate [1] |
2 | <= bachelor [6] | 8h - 1 shift | 24h - 3 shift | * | not appropriate [1] |
3 | * | 24h - 3 shift | 8h - 1 shift | * | not appropriate [1] |
4 | master [7] | 24h - 3 shift | * | * | not appropriate [1] |
5 | * | 8h - 1 shift | 8h - 1 shift | less than 40 | appropriate [2] |
6 | <= bachelor [6] | 24h - 3 shift | 24h - 3 shift | less than 40 | appropriate [2] |
7 | master [7] | 8h - 1 shift | * | less than 40 | appropriate [2] |
Pseudocode of Workhours rules:
-
IF [Employee's work experience] = [40+] THEN evaluation = [1] - not appropriate
// if an employee's workhour value is set to 24h - 3 shift and the organizational unit works 24h - 3 shift and employee has 40 years or more of work experience, the employee is evaluated as not appropriate for the Workhours attribute.
-
IF [Employee's education] <= [6] AND [Employee's workhours] = [8] AND [OU's workhours] = [24] THEN evaluation = [1] - not appropriate
// if an employee's education level is bachelor or lower and employee's workhour value is set to 8h - 1 shift and the organizational unit works 24h - 3 shift the employee is evaluated as not appropriate for the Workhours attribute.
-
IF [Employee's workhours] = [24] AND [OU's workhours] = [8] THEN evaluation = [1] - not appropriate
// if an employee's workhour value is set to 24h - 3 shift and the organizational unit works 8h - 1 shift workhour, the employee is evaluated as not appropriate for Workhours attribute
-
IF [Employee's education] = [7] AND [Employee's workhours] = [24] THEN evaluation = [1] - not appropriate
// if an employee's education level is master and employee's Workhours value is set to 24h - 3shift workhour, the employee is evaluated as not appropriate for Workhours attribute
-
ELSE [2] - appropriate
// every other attribute combination is evaluated as appropriate for Workhours attribute.
Workhours rules response is input for Evaluating aggregated attribute "General work".