I have an access database that is used to assign cases based on certain attributes and workload capacity of individuals.
As a case is assigned to a worker, their capacity is reduced by one. (I have figured out how to do this).
However, there are some variables that I can't figure out and am looking for some advice.
So to simplify...
We have two groups of "workers"
Group 1 has a primary attribute of "A" and a secondary attribute of "B"
Group 2 has a primary attibute of "B" and a secondary attribute of "A"
My goal is to assign all of the "A" cases to Group 1 until each of them reaches 0 capacity. Then I want to start assigning the cases to Group 2 (based on their secondary attribute of "A").
In addition (worst case scenario) if both Group 1 and Group 2 have no more capacity, any remaining cases would be assigned to Group 1.
Any suggestions on how to accomplish this? I was hoping to do it in a select query, but realize that may not be the best place. Any help is very much appreciated!
As a case is assigned to a worker, their capacity is reduced by one. (I have figured out how to do this).
However, there are some variables that I can't figure out and am looking for some advice.
So to simplify...
We have two groups of "workers"
Group 1 has a primary attribute of "A" and a secondary attribute of "B"
Group 2 has a primary attibute of "B" and a secondary attribute of "A"
My goal is to assign all of the "A" cases to Group 1 until each of them reaches 0 capacity. Then I want to start assigning the cases to Group 2 (based on their secondary attribute of "A").
In addition (worst case scenario) if both Group 1 and Group 2 have no more capacity, any remaining cases would be assigned to Group 1.
Any suggestions on how to accomplish this? I was hoping to do it in a select query, but realize that may not be the best place. Any help is very much appreciated!