Skip to content
Book a Demo Open a Case

Salesforce apps by To A Finish

Four managed packages that run inside your own Salesforce org.

Simple Signature

Document creation and e-signatures in Salesforce

Address Verification

Clean, verify and geocode Salesforce addresses

Highlighter

Colors, renames or hides Salesforce fields

List Browse

Browse Salesforce records without list clicking

Get started

Install, configure and roll out a TAF package.

Implementation guides

Guides for all four apps are ready.

How-to articles

One article per task

Book a demo

See a package in a live org

Compatibility

Editions and releases we support

Get help

Open a case and a person reads it.

Open a support case

The fastest route to an answer

Give us access

Let us sign in and see the problem

Support home

Guides, release notes and the case form

Troubleshooting

Search by the error text you see

Documentation

Written for admins, not for developers.

Implementation guides

Guides for all four apps are ready.

How-to articles

One task per article

Change log

What changed in each release

Compatibility

Editions and seasonal releases

Simple Signature Address Verification Highlighter List Browse Support Book a Demo
Address Verification · How-to

Verify records with a batch job

How to do it in Address Verification, one step at a time.

Last updated 11 Oct 2026

Optional. For a first cleanup of all records, or a new check from time to time.

A batch job checks records on a schedule, up to 50 records in each batch. A large job can take a long time, because Salesforce runs Apex jobs slowly on purpose. Most orgs run one after the install to clean up old records, then use background checks or Flows.

A batch job uses many lookups

It uses a lookup for each address it checks. Test the filter with a small limit first.

  1. Set the Active Job ID Field for the object.

    Make a Text field with a length of at least 18 on the object, for example AV Job ID. On the last page of the field wizard, untick the page layouts. The users who run the job need read and write access to it.

    On the Automation tab, click Edit beside the object. Type the API name of the field in Active Job ID Field. Click Save. Reload the page.

  2. On the Automation tab, open Batch Jobs. Click New Job.

  3. Fill in the job.

    FieldValue
    Job NameOptional. Any name.
    Verification TypePhysical Addresses, Emails or Phone Numbers. Each kind needs its own job.
    Object NameYour object. If it is not in the list, add it with Add Supported Object.
    Job Start TimeEmpty to run the job now. With a time, the job runs every day at that time.
    Enable Advance Job ScheduleFor another schedule than every day.
    Email when Job CompleteOptional. It emails the current user when the job verified records. Do not use it on large jobs, because it slows them down.
    Email(s)The addresses that get the email, with commas between them.
    Job SizeThe number of records in each batch. Keep 10, the value that shows.
    Expire Validations > X days0, or a number of days. A record verified longer ago than that is checked again. With 0, the job never checks a verified record again.

    If a red message says that the Active Job ID text field is required, close the window and do step 1.

    The New Job window: Job Name, Verification Type, Object Name, Job Size, Expire Validations, the Job Filters with a SOQL filter, and the green Test The Query message.
  4. Under Job Filters, pick the records.

    Use one of three ways: a report from the Address Verification report folder, a list view of the object, or a SOQL Filter. Open QueryBuilder helps to write the filter. Click Validate, then Use Query.

    SOQL is the query language of Salesforce. A SOQL filter starts with WHERE, for example:

    WHERE State = 'TX' LIMIT 5
    • For a first test, add LIMIT 5 at the end of the filter. A filter can also be LIMIT 5 alone.
    • Without LIMIT, the job takes up to 100,000 records.
    • Do not filter on a record ID, not even an 18-character one. The job changes the filter to lower case, so an ID does not match.
    • A filter can end with ORDER BY and LIMIT, for example WHERE State = 'TX' ORDER BY LastName LIMIT 5. With LIMIT, ORDER BY sets which records the job takes.
    • If Test The Query shows Query Failed, see Test The Query shows Query Failed.
    • The first time you use a list view, you must add a remote site setting. See Address Verification cannot reach Smarty.
  5. Click Test The Query.

    A green bar shows how many records the job can touch, for example This query would currently attempt to verify 1 records (with 2 ADDRESS in each). The count also holds records that are empty or verified already.

    If it reads No object is selected for query, please select object first !!!, pick the object in Object Name again.

    For a report or a list view, click Test The Report or Test List View.

  6. Click Run Job, or Schedule Job.

    Run Job runs the job once, now. Schedule Job runs it on the schedule you set.

  7. Watch the job.

    Click Go to Apex Jobs for a job that runs now, or Go to Scheduled Jobs for a later one. If the button does nothing, open Setup and type Apex Jobs in the Quick Find box. To see or delete a job, use View or Delete in the Batch Jobs list. Do not abort a job in Apex Jobs.

    In the Batch Jobs list, the Status of the job reads Completed at the end. A job that found no record to check ends with an empty Status.

  8. Schedule the weekly cleanup of Deputy records.

    Batch jobs leave records in a hidden object named Deputy. A scheduled job deletes them. Open Setup. In the Quick Find box, type Apex Classes. Click Apex Classes. Click Schedule Apex.

    FieldValue
    Job NameAddress Verification Batch Cleanup
    Apex ClassDeputyRecordDeletionBatch
    FrequencyWeekly. Tick one day. For a daily cleanup, tick every day.
    Start, EndSalesforce fills in an End date one month ahead. Set it years ahead, or the cleanup stops.
    Preferred Start TimeOut of work hours, after your batch jobs

    Click Save.

Applies to

Address Verification 7.3.x. These steps come from the tested Address Verification implementation guide, where they sit with the steps before and after them.

Was this helpful?

Related

Support

Still stuck?

Open a case and paste the exact error text. A person reads every case.