Newer Version Available

This content describes an older version of this product. View Latest

DataDetectJobSession

Represents a run of a DataDetect scan policy that's triggered manually. This object is available in API version 63.0 and later.

To opt in for beta, contact your Salesforce account executive. After enabling the org permission, users can access the Data Detect app from the app launcher.

Supported Calls

delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete()

Fields

Field Details
DataDetectPolicyId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the scan policy associated with this job session.

This field is a relationship field.

Relationship Name
DataDetectPolicy
Refers To
DataDetectPolicy
DataDetectPolicySnapshotId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the snapshot of the scan policy associated with this job session.

This field is a relationship field.

Relationship Name
DataDetectPolicySnapshot
Relationship Type
Master-Detail
Refers To
DataDetectPolicySnapshot
SessionEndTime
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Time and date when the data scan completes.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Auto-generated name of the job session.
NamedEntityCount
Type
int
Properties
Create, Filter, Nillable, Update
Description
Aggregate count of PII found during the data scan.
PolicyJobStatus
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Status of the data scan. Valid values are:
  • Stopped
  • Completed
  • Failed
  • PartialSuccess
  • Running
  • Scheduled
  • TimedOut

The default value is Scheduled.

RunByUser
Type
string
Properties
Filter, Group, Nillable, Sort
Description
User who started the job session or data scan.
SessionStartTime
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Time and date when the data scan begins.

Associated Objects

This object has this associated object. If the API version isn’t specified, it's available in the same API version as this object. Otherwise, it's available in the specified API version and later.

DataDetectJobSessionFeed
Feed tracking is available for the object.