Forum Discussion
GaryMcDonald
6 years agoQrew Trainee
There are 19 Users in the Table but only 7 of them are adjusters being assigned to claims.
The key field in that table is User ( it is a User field )
------------------------------
Gary McDonald
------------------------------
The key field in that table is User ( it is a User field )
------------------------------
Gary McDonald
------------------------------
EverettPatterso
6 years agoQrew Captain
How are the claims added? From an Add button one at a time or do you import multiple claims at once?
------------------------------
Everett Patterson
------------------------------
- GaryMcDonald6 years agoQrew TraineeFor sake of this argument and to make it as easy as possible lets say I add a new record one at a time.
------------------------------
Gary McDonald
------------------------------- EverettPatterso6 years agoQrew Captain
It takes some setup and managing, but you can use all native features. I will let you determine if the effort is worth it. It should begin to assign Users to Claims evenly as you add them. Please test thoroughly and enjoy!
- Setup a new table, User Statistics. Create one record, record ID is 1.
- Create a new relationship, each User Statistic has many Users
- On the Users table, change the field Related User Statistic to a formula numeric and set the formula to 1.
- Create a lookup field for each User, name it "John Total", "Mary Total", etc *keep updated for every User
- On the User Statistics table, create a formula user field "Next User", *keep updated for every User
var number myformula = Min([John Total],[Mary Total]); If( $myformula=[John Total], ToUser("john@gmail.com"), $myformula=[Mary Total], ToUser("mary@gmail.com"))
- Create a new relationship, each User Statistic has many Claims
- On the Claims table, change the field Related User Statistic to a formula numeric and set the formula to 1.
- Create a lookup field for the field "Next User"
- Create a new automation, when a user adds a record in the Claims table, modify records (record ID = record ID) and change the field Related User to the Next User
------------------------------
Everett Patterson
------------------------------- GaryMcDonald6 years agoQrew TraineeThis is great thank you. I ended up figuring out a solution but it was not as elegant as this...I ended up with an extra table that I didn't need using a Max record ID summary on the one record to get the User into the table...but then did the automation just like you showed above...seems to be working great. Thanks again for your help.
------------------------------
Gary McDonald
------------------------------