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
Courtney MosleyCourtney Mosley 

Update field when attachment is placed.

I currently have a new checkbox called Response_Needed__c that is supposed to update internal users when an attachment is placed on a case. However I'm unable to figure out how to put this into place. Could I get a push in the right direction? Thanks!
VinayVinay (Salesforce Developers) 
Hi Courtney,

Review below links which has working examples to update custom field when an attachment is in place.

https://developer.salesforce.com/forums/?id=9062I000000IEtOQAW
https://developer.salesforce.com/forums/?id=9060G0000005gPJQAY
https://developer.salesforce.com/forums/?id=906F00000008wHEIAY
https://developer.salesforce.com/forums/?id=906F00000008yrFIAQ

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar