i have set up a 1:n relation in QGIS. The parent layer contains trees (point geometry) and some basic informations about. The related table contains measurements which should be carried out to keep the tree healty. In the "Measurements"-table each measurement has a numeric priority (ranging from 1 to 5). I want to achieve that as soon a measurment was carried out and a worker ticks a box in the attribute form (boolean column "Done") of the "Measurement"-table the field "Priority" which exists also in in the main table is updated with the highest priority of the remaining measurements.
I assume this can be done using "actions". But is there a way where the user does not have to proactively execute the action so the procedure is fully automated?
The tables are in a geopackage if that matters.