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
Robert RobinsonRobert Robinson 

Copying Task information from Custom Object to Account; which is the better tool?

I have users who are updating Tasks (Activities) on a custom object (Deal__c), and they want a function to copy the data from the Task fields on the Deal to the Task fields on the related Account, as there are often two different audiences for the Task update. I would create a new checkbox field for the Deal Task Layout (Copy to Account): my question is which would be the better tool to use when the Deal Task box is checked: Process Builder (which I know has some limitations) or an Apex trigger? Thanks.
Surendra Choudhary 1Surendra Choudhary 1
Hi Robert,

Process builder is better approach as per salesforce best practice use over apex triggers.

Please check this link for more details.
https://www.slideshare.net/ProQuestIT/process-builder-vs-trigger

Need help you can contact on skype: surendra.choudhary12

Regards,
Surendra