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
Lakshmi SLakshmi S 

How to delete the Case child object records using Flow ?

Hi Team,

Requirement : Case (P) <-- Child Obj <-- Sub Child Obj :
Case is the parent to Child Obj and Child Obj is the parent to Sub Child Obj. If we delete the case record need to delete child and sub child records also. How can we achieve using Flow.

Please let me know anyone.

Thanks,
Lakshmi.
Khan AnasKhan Anas (Salesforce Developers) 
Hi Lakshmi,

Greetings to you!

You cannot start the process by Workflow, Visual Workflow, Process Builder on record delete. It will start only when record insert or update happens.
You need to have a trigger for the same to handle deleted parent record ids and delete related child records. 

It is an Idea (https://success.salesforce.com/ideaView?id=08730000000DlPBAA0) you can upvote it.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Raj VakatiRaj Vakati
These are the way .. 

Create an apex class and call it fomr the process builder and flow 

or an trigger 



https://salesforce.stackexchange.com/questions/49229/trigger-to-auto-delete-records

https://automationchampion.com/tag/auto-delete-record-using-process-builder/
https://success.salesforce.com/answers?id=90630000000DKtKAAW
https://help.salesforce.com/articleView?id=vpm_records_delete.htm&type=0