ProcessDefinition
Defines process automation workflows in Salesforce, such as approval processes and custom flows.
Columns
| Name | Type | References | Description |
| Id [KEY] | String | Unique identifier for the process definition record. | |
| Name | String | Human-readable name of the process definition, used for display and selection. | |
| DeveloperName | String | Unique API name for the process definition, used in development and automation tools. | |
| Type | String | Specifies the type of process, such as Flow or Workflow, defined in this record. | |
| Description | String | Text description providing details about the purpose or functionality of the process definition. | |
| TableEnumOrId | String | Identifier of the object (standard or custom) that this process definition is associated with. | |
| LockType | String | Specifies the record locking behavior during the process execution, such as locking the record for editing. | |
| State | String | Current status of the process definition, such as Draft, Active, or Obsolete. | |
| CreatedById | String |
User.Id | Identifier of the user who created the process definition. |
| LastModifiedDate | Datetime | Date and time when the process definition was most recently modified. | |
| LastModifiedById | String |
User.Id | Identifier of the user who last modified the process definition. |
| SOQL | String | Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| SystemModstamp | Datetime | System-generated timestamp indicating the latest update to the process definition. | |
| CreatedDate | Datetime | Date and time when the process definition was initially created. |