---
schema_version: "1"
id: 9a5665c0622aa0728406e5afe7d51001f652dd069cec2d3b376768661e0cc777
title: FlowRecordVersionOccurrence
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_flowrecordversionoccurrence.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_flowrecordversionoccurrence.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ca71ae0aa21fe5bd7e86cc3aecacb56fc3f1a28bb0f76ddeecb0afce7e9a1a99
description: Represents an instance of a recurring flow that runs on a schedule. For example, a flow that runs weekly on Wednesdays creates an occurrence each time it runs. This object is available in API version 60.0 and later.
---
# FlowRecordVersionOccurrence

Represents an instance of a recurring flow that runs on a schedule. For example, a flow that runs weekly on Wednesdays creates an occurrence each time it runs. This object is available in API version 60.0 and later.

## Supported Calls

describe(), read()

## Fields

| Field | Details |
| --- | --- |
| DataSpaceId | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the data space for this occurence. This field is available in API version 65.0 and later.

This field is a relationship field.

Relationship Name

DataSpace

Refers To

DataSpace



 |
| Entries | 

Type

integer

Properties

Filter, Group, Query, Retrieve, Sort

Description

The number of entries for this occurrence.



 |
| Errors | 

Type

integer

Properties

Filter, Group, Query, Retrieve, Sort

Description

The number of errors for this occurrence.



 |
| ErrorDetail | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

A description of the error. This field is available in API version 63.0 and later.



 |
| Exits | 

Type

integer

Properties

Filter, Group, Query, Retrieve, Sort

Description

The number of exits for this occurrence.



 |
| FlowRecordId | 

Type

string

Properties

Filter, Group, Query, Retrieve, Sort

Description

The ID of the associated flow record.



 |
| FlowRecordVersionId | 

Type

string

Properties

Filter, Group, Query, Retrieve, Sort

Description

The ID of the associated version of the flow record.



 |
| ProgressStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The running status of the flow interview.

Valid values are:

- Canceled
    
    Specifies a flow interview that was deactivated by a user. The flow doesn’t process previously added records and no additional records are added to this flow.
- Completed
    
    Indicates a flow interview that is complete. No additional records are eligible to be processed in this flow.
- Error
    
    Indicates a flow interview that has been deactivated because it encountered an error. When the error occurs, the error details are emailed to up to 5 users with the Manage Flows permission who most recently logged into Salesforce.
- Finishing
    
    Indicates a flow interview that was deactivated by a user, but is finishing records previously added that are eligible to run to completion. No additional records are added to this flow.
- InProgress
    
    Indicates a flow interview that is running or ready to run.
- PreparingData
    
    Indicates a flow interview that is preparing the resources it requires to run. This process can take up to 2 hours.





 |
| ScheduledDate | 

Type

dateTime

Properties

Filter, Group, Query, Retrieve, Sort

Description

The scheduled time and date of the occurrence.



 |
| Stopped | 

Type

integer

Properties

Filter, Group, Query, Retrieve, Sort

Description

The number of flows that were stopped for this occurrence.



 |