---
schema_version: "1"
id: ee048e572517cfd6a4597a960b1c7f29742aff83b0c8be7d4d602418a868e8ec
title: Flow Run DMO
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-dmo-mapping/guides/std_dmos/c360dm-si-flowrundmo-dmo.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-flowrundmo-dmo.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 13b336011d0bd0da0ac58cfe3e7611e2bb6f4c03235e2591e8f27a25ba258c66
products:
  - Data 360 DMO and Mapping Guide
  - Data 360 Developer Documentation
---
# Flow Run DMO

## Object Properties

**Object API Name:** `ssot__FlowRun__dlm`  
**Category:** Unassigned  
**Availability:** Available in 254 and later versions  
**Primary Key Field:** Id  

## Relationships

- **PrimaryRecordId** has a FOREIGNKEY relationship with the [Individual DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-individualdmo-dmo.md) `Id` field.
- **FlowVersionId** has a FOREIGNKEY relationship with the [Flow Version DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-flowversiondmo-dmo.md) `Id` field.
- **LastExecutedElementId** has a FOREIGNKEY relationship with the [Flow Element DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-flowelementdmo-dmo.md) `Id` field.
- **FlowVersionOccurrenceId** has a FOREIGNKEY relationship with the [Flow Version Occurrence DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-flowversionoccurrencedmo-dmo.md) `Id` field.
- **TriggeredByFlowElementRunId** has a FOREIGNKEY relationship with the [Flow Element Run DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-flowelementrundmo-dmo.md) `Id` field.


## Fields

- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [CompletedDateTime](#completeddatetime)
- [ContextRecordId](#contextrecordid)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [ErrorDescriptionText](#errordescriptiontext)
- [ErrorReason](#errorreason)
- [FlowExecDrtnInMilliseconds](#flowexecdrtninmilliseconds)
- [FlowRunStatus](#flowrunstatus)
- [FlowVersionId](#flowversionid)
- [FlowVersionOccurrenceId](#flowversionoccurrenceid)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [KQ_FlowVersionId](#kq_flowversionid)
- [KQ_Id](#kq_id)
- [KQ_LastExecutedElementId](#kq_lastexecutedelementid)
- [KQ_PrimaryRecordId](#kq_primaryrecordid)
- [LastExecutedElementId](#lastexecutedelementid)
- [PrimaryRecordId](#primaryrecordid)
- [RelatedRecordId](#relatedrecordid)
- [RelatedRecordObject](#relatedrecordobject)
- [ScheduledDateTime](#scheduleddatetime)
- [StoppedReason](#stoppedreason)
- [TriggeredByFlowElementRunId](#triggeredbyflowelementrunid)
- [TriggerId](#triggerid)

### cdp_sys_record_currency

- **Field API Name:** `ssot__cdp_sys_record_currency__c`
- **Data Type:** TEXT
- **Description:** System-generated metadata field that stores a 3-letter ISO currency code.

### CompletedDateTime

- **Field API Name:** `ssot__CompletedDateTime__c`
- **Data Type:** DATETIME
- **Description:** The timestamp at which the Process Step Run completed (whether successful or failed). Once set, no further processing takes place.

### ContextRecordId

- **Field API Name:** `ssot__ContextRecordId__c`
- **Data Type:** TEXT
- **Description:** The record ID of an object on the Salesforce Core platform.

### DataSourceId

- **Field API Name:** `ssot__DataSourceId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DataSourceObjectId

- **Field API Name:** `ssot__DataSourceObjectId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### ErrorDescriptionText

- **Field API Name:** `ssot__ErrorDescriptionText__c`
- **Data Type:** TEXT
- **Description:** The text content for the error description of the flow run. Maximum size is 255 characters.

### ErrorReason

- **Field API Name:** `ssot__ErrorReason__c`
- **Data Type:** TEXT
- **Description:** The error reason if the flow ocurrence encountered an error. Valid values are: Internal Error, Deactived User.

### FlowExecDrtnInMilliseconds

- **Field API Name:** `ssot__FlowExecDrtnInMilliseconds__c`
- **Data Type:** DOUBLE
- **Description:** The elapsed time of the Flow Run.

### FlowRunStatus

- **Field API Name:** `ssot__FlowRunStatus__c`
- **Data Type:** TEXT
- **Description:** The state of the flow run. Examples: Running, Complete, Paused-Error, waiting and executing.

### FlowVersionId

- **Field API Name:** `ssot__FlowVersionId__c`
- **Data Type:** TEXT
- **Description:** Metadata for a specific version of a Flow business process.

### FlowVersionOccurrenceId

- **Field API Name:** `ssot__FlowVersionOccurrenceId__c`
- **Data Type:** TEXT
- **Description:** The flow version occurrence associated with the flow run.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** Required. A unique, system-generated identifier for this FlowRun record. Maximum size is 15 characters.

### InternalOrganizationId

- **Field API Name:** `ssot__InternalOrganizationId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### KQ_FlowVersionId

- **Field API Name:** `KQ_FlowVersionId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for FlowVersionId

### KQ_Id

- **Field API Name:** `KQ_Id__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Id

### KQ_LastExecutedElementId

- **Field API Name:** `KQ_LastExecutedElementId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for LastExecutedElementId

### KQ_PrimaryRecordId

- **Field API Name:** `KQ_PrimaryRecordId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for PrimaryRecordId

### LastExecutedElementId

- **Field API Name:** `ssot__LastExecutedElementId__c`
- **Data Type:** TEXT
- **Description:** Records the last executed Flow Element, when a Flow Run exits due to rules met.

### PrimaryRecordId

- **Field API Name:** `ssot__PrimaryRecordId__c`
- **Data Type:** TEXT
- **Description:** The record that the Flow Run is running against. This is a polymorphic field and the domain includes Individual, Contact, Case and many others.

### RelatedRecordId

- **Field API Name:** `ssot__RelatedRecordId__c`
- **Data Type:** TEXT
- **Description:** The record ID of a related object on the Salesforce Core platform.

### RelatedRecordObject

- **Field API Name:** `ssot__RelatedRecordObject__c`
- **Data Type:** TEXT
- **Description:** Stores the type of entity referenced by Related Record Id, for example, 'Account' or 'Case'.

### ScheduledDateTime

- **Field API Name:** `ssot__ScheduledDateTime__c`
- **Data Type:** DATETIME
- **Description:** The timestamp at which the Business Process run was scheduled for execution. Actual execution time may be slightly later due to queueing, retries,

### StoppedReason

- **Field API Name:** `ssot__StoppedReason__c`
- **Data Type:** TEXT
- **Description:** The error code if the flow run was stopped. Valid values are: FlowStopped, IndividualNotFound, InactiveFlowOwner.

### TriggeredByFlowElementRunId

- **Field API Name:** `ssot__TriggeredByFlowElementRunId__c`
- **Data Type:** TEXT
- **Description:** The ID of the flow element run that the flow run is associated with.

### TriggerId

- **Field API Name:** `ssot__TriggerId__c`
- **Data Type:** TEXT
- **Description:** The globally unique identifier that triggers the flow run.
