I have a parent layer called hydrants with a field named "Class" and a related table called Inspections with the relevant field named "GPM". The "Class" field accepts values 'Blue-1500', 'Green-1000-1499', 'Orange-500-999', and 'Red-0-499', and the "GPM" field in the related table accepts integers 0-1500.
I need help producing an arcade expression to update "Class" based on the "GPM" value when a new record is added to the related table via an attribute rule.