Am trying to route the assignment based on the ToSkilledGroup activity. As per this activity, the assignment will go to the worklist of a randomly determined individual within the workgroup who has the required skills. Trying to modify the pickBalancedOperator function from the step 1 of ToSkilledGroup. (Please refer attachment Step1).
But unable to understand the assignmentWeightColumn, pastGoalMultiplier, pastDeadlineMultiplier, desiredSkillMultiplier parameters.
Referred the below PDN. But still not clear with the above parameters.
workPage - the case containing the assignment being routed
assignPage - the assignment being routed
assignmentWeightColumn - defaults to pxUrgencyAssign; the column that the workload multipliers are based against. You might want to use pyEffortRemaining instead if your assignments have that filled in.
pastGoalMultiplier/pastDeadlineMultiplier - the multiplier against the weight property if the assignment on that individual's list is passed that milestone.
desiredSkillMultiplier - for each desired skill a given member of the workgroup has in common with the assignment being routed, this lowers the weight that has been calculated.
The workgroup consists of Bob, Sally, and Alice. Alice doesn't have all the required skills for the assignment so she is disqualified. It's down to Bob and Sally. Bob has three assignments, one is on time (urgency 50), one is past goal (60), and one is past deadline (70). Sally has four assignments, and only one is past goal (50, 50, 50, 60). However, Bob has 3 of the desired skills for the assignment being routed.
Let's say the past goal weight is 2, the past deadline weight is 3, and the desired skill weight is 10.
Bob's workload is 50 + 60*2 + 70*3 - 3*10 = 350
Sally's workload is 50 + 50 + 50 + 60*2 = 270
So even though Bob only has 3 assignments to Sally's 4, and Bob has desired skills, the route goes to Sally because Bob has a late assignment.