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
ApexnoviceApexnovice 

Trigger that will show Standard object(Activity) in custom object

Hello,

 

I am having an issue an hopefully you all can guide me in the rigth direction. My Company is in need of three new custom object fields (inbound call count, outbound call count, vm count) which would be a roll up summary of that particular activity type. Problem is i cannot seem to use roll up summaries on Activities and have it show up in my custom object ( due to the relationship issues between standard and custom objects)

 

Do you all have any idea on a workaround?

mikefitzmikefitz

You would need to create number fields and update them within an insert trigger

ApexnoviceApexnovice

The field i want to use for the roll up is a pick list. it has 5 picklist values but i am only interested in three of them. So i create number fields for each Picklist value? Then i push over to my custom object?