Skip to main content Stream TDX Bengaluru on Salesforce+. Start learning the critical skills you need to build and deploy trusted autonomous agents with Agentforce. Register for free.
I'm getting the same error even though I'm using the code provided by other users here. The new field is also created.

 

trigger AccountAddressTrigger on Account (before insert, before update) {

for(Account a : Trigger.new){

If (a.Match_Billing_Address__c == true) {

a.ShippingPostalCode = a.BillingPostalCode;

}

}

}

Is there anything wrong with it? 

Thanks in advance.
23 answers
  1. Jan 29, 2016, 11:09 AM
    Hey Sumit,

    I just fixed the problem! For some reason the Trigger was inactive. I actived it and checked the Challenged and worked properly!

    Best,

    Dannilo
Loading
0/9000