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
Phani PYDIMARRY 11Phani PYDIMARRY 11 

Trigger to delete Feedcomments generated from Feeditems - Chatter

I have a requirement in our community where a Question is generated as a Feeditem whenever our customers ask. There would be answers from other users which are Feeditems. Now when a Feeditem(Question) is deleted, I would want all the associated Feedcomments to be deleted.
Feedcomment have a FeedItemID associated with them. I am new to development, it would be great if someone could help me atleast a skeleton of the handler and trigger.