Blog

How to: Solve “Address verification returning ‘Verified’ with a warning symbol”

If there is a warning symbol when an address is “Verified”, it is usually because the AddressTools trigger isn’t enabled for the object. Standard objects can use the built-in triggers, while custom objects will require a custom trigger. 

How to fix it? 

  1. Enable the provided trigger for standard objects: Account, Contact, Contract, Lead, or;
  2. Create a trigger for custom objects. 

Step-by-step resolution guide: 

1. Turn on triggers for supported standard objects.

  • Go to AddressTools Administration | Settings. 
  • In Trigger Settings, select Enable {Object} Trigger and save.  

Note: supported objects are Account, Contact, Contract, Lead.

2. Create a trigger for a custom object. 

  • Go to Setup | Object Manager | [Your Object] | Triggers
  • Click New to create a trigger. 
  • Replace the default code in the text field with the following code snippet: 
trigger ValidateOBJECTLABELCountryFields on OBJECTAPI (before insert,
before update) { 
   pw_ccpro.CountryValidator2.Validate (Trigger.new, Trigger.oldMap);
}
  • In this code snippet, replace OBJECTLABEL with your object name and OBJECTAPI with the API name. 
  • Save your new trigger. 

 

If you are still experiencing issues and need assistance, contact support@provenworks.com. 

Leave a Reply

 

Discover more from ProvenWorks

Subscribe now to keep reading and get access to the full archive.

Continue reading