1 resposta
Hi Theeban,
Assuming you have a large amount of students, this is probably something you'd want to implement in a scheduled batch Apex class. Winter 20 will feature scheduled flows which youight be able to use instead if your student count is in the hundreds or under.
If you have their starting year, you may also be able to calculate this with a formula field.