+ Start a Discussion

Idedntify and flag most recent child record

I want to identify most recent created/updated record form a list of records and seting its flag as true , and setting flag of all other remaining records as false. How Can i achive this?

Rahul SharmaRahul Sharma

Hi Bhushan,

Please elaborate on what you are trying to do.


Hi Rahul,


There is a  Account that will have multiple child records(of Custom Object).  So I would expect for each Account to be able to identify the most recent child record  for each record type of child object.  E.g. There could be lots of child object records, with different recordtype,i  just want to be able to select the most recent of each record type related to that Account. 


Once  identified these they sholud be flagged(Set Most recent Checkbox as true).