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
Keith GayKeith Gay 

Trying to automatically attach tasks to a custom object when it is created on the account, workflows and process builder do not work. Is this possible to do with a trigger?

Our org uses a software to automatically create activity in SFDC. But this software does not allow for any type of relation to custom objects. So when the activity is created it is only attached to the account and contact but we have a third lookup on tasks for our custom object and can not for the life of me get this to autopopulate upon creation. I don't have much experience with triggers but from what I have researched seems like that may be the only option to get this done. Any help would be greatly appreciated. Thanks!
Keith GayKeith Gay
To clarify - not all accounts with have an associated channel partner. So the condition would be - if account 'channel_object' is not blank, update the task 'channel_object' to match the account's. Really just wondering if this is at all possible. Not seeing much posted about this.