1 件の回答
Hi prema,You can stop deleting a record using before delete trigger,But in before delete trigger the record is read only so you cannot update a record while in before delete trigger.Instead you can create a new record with the same data from this triggerPlease refer below link which might help you furtherhttps://salesforce.stackexchange.com/questions/240708/how-prevent-deletion-in-event-delete-trigger-and-update-a-field-insteadhttps://developer.salesforce.com/forums/?id=906F000000092IBIAYHope this helps youLet me know if this helps you. Kindly mark it as solved so that it may help others in future.Thanks and Regards