Тэги:
#Salesforce #Development #Developer #Salesforce_Developer #Admin #Salesforce_Admin #Lightning #Training #Tutorial #Object_Oriented_Programming #OOP #Object_Oriented_Development #Illuminated_Cloud_2 #IC2 #IntelliJ #salesforce_tutorial #salesforce_mass_delete #salesforce_development #Queueable #BatchКомментарии:
Make sure prior to mass deleting records that this is your employers desired end state for these records, and that they wouldn't prefer to archive/offload them to another system!
Ответить☹️ PromoSM
ОтветитьGood stuff.
I got kinda confused when you queried for the records and then deleted them.
I thought the enqueue afterwards wouldn't work because in my head the list of cases would be empty after they got deleted.
But in reality the original list in memory still holds the copies of the records.
We can also use flows to delete the records.
ОтветитьAny suggestions on how to handle any related records that also need deleting? (In a composable/scalable way, hopefully preventing hardcoding)
Ответитьgreat video.. you are a natural... thank you!
Ответить