| DataProtectionThreshold |
- Type
- int
- Properties
- Create, Filter, Sort, Update
- Description
- Specifies a retention buffer, in days, during which recently updated or sensitive
records must not be archived or deleted. Enforces
data protection compliance.
|
| Description |
- Type
- string
- Properties
- Create, Update
- Description
- The purpose or scope of the policy.
|
| DeveloperName |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- The unique name of the object in the API. In managed packages,
this field prevents naming conflicts on package installations. With
this field, a developer can change the object's name in a managed
package and the changes are reflected in a subscriber's
org.
|
| IsActive |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether the policy is active and eligible for execution. Only active policies can run through scheduled or manual processes. The default value is false.
|
| IsSoftDeleted |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether the policy has been soft deleted. Soft deleted
policies are marked for deletion but not removed permanently. The
default value is false.
|
| MasterLabel |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- The label for this policy. This display value is the internal label that doesn't get translated.
|
| Name |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- The unique name assigned to the policy.
|
| Query |
- Type
- textarea
- Properties
- Create, Filter, Group, Sort, Update
- Description
- A complete SOQL or custom query that defines the set of records to
archive or purge based on the policy rules. Determines which
records are eligible for processing. The field type changed from string to textarea in API version 67.0.
|
| QueryLimit |
- Type
- int
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The maximum number of root records this policy can process in a single run. Use to throttle execution for scalability and control.
|
| RootEntityName |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- The API name of the Salesforce object targeted by the policy. Determines which object's records are queried and processed.
|
| RunFrequency |
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Specifies how often the policy is executed—manually or on a regular interval. Enables automation for recurring data lifecycle operations.
Valid values are:
-
None—This option is specifically for manual policy runs.
- Daily
- Monthly
- Weekly
|
| Type |
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Process type that the policy executes.
Valid values are:
|