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
Mike@SFDC.ax1021Mike@SFDC.ax1021 

acoount trigger after insert, after update

Relation:Account has no relation with Custom Object

Criteria: When Account records Create or Update(after insert, after update), create Record in custom object if not exist, update if exists.

Help: anyone tell me logic write trigger.

Jia HuJia Hu
You can create a Trigger on the Account object to achieve this.
But when a Account is created/updated, how do you determine a custom record is exist or not?

And which part of this Account record info. you will use for creating the Record of custom object?