DataDetectJobSession

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

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
EndTime
Type
dateTime
Properties
Filter, Nillable, Sort
Description
Time and date when the data scan completes.
HasClassicEncryptedField
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates that if the user is permitted to view classic encrypted fields, they can view these fields in the scan results.

The default value is false.

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.