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
Sandhya Marella 4Sandhya Marella 4 

how can we do this in case object when ever status is solution provided after 1 hour case status is updated to close and then after 15 days case related attachments should get delete.

i have created workflow to update case status from solution provided to closed after one hour, then i created process builder and ivoke apex class to delete attachments but it is not working
AnudeepAnudeep (Salesforce Developers) 
Hi Sandhya, 

You can try implementing a trigger and batch apex based on this post