You need to sign in to do that
Don't have an account?
![JJUPO JJUPO](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Attachments counter
Hello everyone,
How do I know how many attached files are in an opportunity? Is there any way to do a counter with workflows? I don't really want to develop APEX code for this...
Thanks in advance!
Integer count = [Select Count() from Attachment Where ParentId = 'OpportunityId'];
Apex is the only way right now. You could create a batch job to calcuate the attachment counters for all opties,