---
schema_version: "1"
id: 981a76f9018b8c900ed62dde075d305eebe151ff3a77b3f2dba11bc40dc4016a
title: DuplicateJob
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_duplicatejob.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_duplicatejob.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b7079e134cd6648c52f687b45a2b15eb8b21867bea7be72c5d025c55357853fb
description: Represents an instance of a job that identifies duplicates among existing records in the system.
---
# DuplicateJob

Represents an instance of a job that identifies duplicates among existing records in the system.

This object is available in API versions 42.0 and later.

A duplicate job is the parent of the DuplicateRecordSet instances that it generates. The duplicate record items in a set generated by a duplicate job are of one object type.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update()

## Special Access Rules

As of Summer ’20 and later, only users with the View Setup and Configuration permission can access this object.

## Fields

| Field Name | Details |
| --- | --- |
| DuplicateJobDefinitionId | 
Type

reference

Properties

Filter, Group, Sort, Update

Description

The ID of the corresponding duplicate job definition.



 |
| DuplicateJobStatus | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Restricted picklist, Sort

Description

The current status of a duplicate job. Valid values are Not Started, In Progress, Completed, Canceled, Failed, Results Deleted.



 |
| EndDateTime | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when a duplicate job was completed.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when a duplicate job was last referenced.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when a duplicate job was last viewed.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort, Update

Description

The name of a duplicate job.



 |
| NumDuplicateRecordItems | 

Type

int

Properties

Filter, Group, Sort

Description

The total number of duplicate records identified as a result of invoking a duplicate job.



 |
| NumDuplicateRecordSets | 

Type

int

Properties

Filter, Group, Sort

Description

The number of duplicate record sets identified as a result of invoking a duplicate job.



 |
| NumRecordsScanned | 

Type

int

Properties

Filter, Group, Sort

Description

The number of records scanned as a result of invoking a duplicate job.



 |
| ResultListViewId | 

Type

reference

Properties

Filter, Group, Nillable, Sort, Update

Description

List view metadata for displaying the duplicate record sets identified as result of invoking a duplicate job.



 |
| StartDateTime | 

Type

dateTime

Properties

Filter, Sort

Description

The date and time when a duplicate job was invoked.



 |