---
schema_version: "1"
id: 16970057fbd4360c56cdae43c0995b12f3803ffcd5e42bc161d1707f627313af
title: FlowRecordElementOccurrence
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_flowrecordelementoccurrence.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_flowrecordelementoccurrence.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: dd04d4578451199ea72bb514ebe89fc41edd14f8dec0dafe50d18e272dee31a8
description: Represents the execution metrics for a single element within a flow version. This object is available in API version 62.0 and later.
---
# FlowRecordElementOccurrence

Represents the execution metrics for a single element within a flow version. This object is available in API version 62.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

## Fields

| Field | Details |
| --- | --- |
| CurrencyIsoCode | 
Type

picklist

Properties

Defaulted on create, Filter, Group, Restricted picklist, Sort

Description

The ISO code for the currency associated with the flow.

Possible values are:

- USD—U.S. Dollar

The default value is USD.



 |
| Entries | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The number of times the element was initiated in all flow interviews after the flow version was executed.



 |
| Errors | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The number of errors for the element in all flow interviews after the flow version was executed.



 |
| Exits | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The number of times the element was executed to completion in all flow interviews after the flow version was executed.



 |
| FlowRecordElementId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the flow element.

This field is a relationship field.

Relationship Name

FlowRecordElement

Refers To

FlowRecordElement



 |
| FlowRecordId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the flow.

This field is a relationship field.

Relationship Name

FlowRecord

Refers To

FlowRecord



 |
| FlowRecordVersionId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the flow version.

This field is a relationship field.

Relationship Name

FlowRecordVersion

Refers To

FlowRecordVersion



 |
| FlowRecordVersionOccurrenceId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the flow occurrence.

This field is a relationship field.

Relationship Name

FlowRecordVersionOccurrence

Relationship Type

Master-detail

Refers To

FlowRecordVersionOccurrence (the master object)



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The API name of the flow element.



 |
| Stopped | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The number of times execution of the element was stopped in all flow interviews after the flow version was executed.



 |
| TotalDuration | 

Type

long

Properties

Filter, Group, Nillable, Sort

Description

The total time in milliseconds spent executing the element in all flow interviews.



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[FlowRecordElementOccurrenceChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.

[FlowRecordElementOccurrenceFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[FlowRecordElementOccurrenceHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[FlowRecordElementOccurrenceOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[FlowRecordElementOccurrenceShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.