Salesforce Fact #599 | Deleting CaseComment records

While deleting CaseComment records, recordIds won't work with Database.delete() DML statement. We need to specify as single or list of sobject records.

Reference: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_casecomment.htm

Attached is the screenshot.




Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow