function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

compare two child records

I have a custom Child object 'H' for Account object. I want to compare the values of a field 'R(number field ) of two child records. If the value is consecutively zero i have to create a case and send out a task to a user.

Any suggestions on this ?
For this you can write batch class which can be scheduled for every month whenever H record creates.