Calculated User Group field
Expanding on the new User Group fields, it would be nice to have calculated User Group fields so we can dynamically set this field to one/many User Groups automatically based on other values/conditions in the record to be used for Views, Dashboards, etc.
(From: John McGarvey - I'm out of votes)
Can we see an example of what this script may look like?
Calculated user fields are on the roadmap for future development, but an app script should be able to accommodate this functionality in the meantime. This script could run BEFORE INSERT and BEFORE UPDATE for when the record is both created and edited.