+ Start a Discussion
Akshay MenseAkshay Mense 

how to send bell notification once many records gets inserted(approx 900) on weekly basis

Hi All,

I have a requiremnt to send bell notification once many records gets inserted(apprx 900) on weekly basis. so that the users will get to know new records are inseted 
Best Answer chosen by Akshay Mense
Danish HodaDanish Hoda
hi Akshay,
You can implement a batch class and schedule it to run every week.
query - make a SOQL to query for all the records WHERE CreatedDate >= System.now().addDays(-7)

All Answers

Danish HodaDanish Hoda
hi Akshay,
You can implement a batch class and schedule it to run every week.
query - make a SOQL to query for all the records WHERE CreatedDate >= System.now().addDays(-7)
This was selected as the best answer
Akshay MenseAkshay Mense
Thanks for the input. Can you let me know for how much long these bello notification last