---
schema_version: "1"
id: d56011e285a8c06aa764b88f6cba0694d3e3192379c08d822f61e41918bf03a4
title: FlowOrchestrationVersion
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_floworchestrationversion.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_floworchestrationversion.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 95d29311ca7419c60766a06a4bc55b36e3a009566eb6fec5d29d296457947be4
description: Represents the version of an orchestration. This object is available in API version 62.0 and later.
---
# FlowOrchestrationVersion

Represents the version of an orchestration. This object is available in API version 62.0 and later.

## Supported Calls

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

## Fields

| Field | Details |
| --- | --- |
| ActivatedById | 
Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the user that activated the orchestration.

This field is a relationship field.

Relationship Name

ActivatedBy

Refers To

User



 |
| ActivatedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the orchestration was activated.



 |
| ApiVersion | 

Type

double

Properties

Filter, Nillable, Sort

Description

The API version of this orchestration record version.



 |
| Description | 

Type

textarea

Properties

Nillable

Description

The description of the flow orchestration version.



 |
| FlowOrchestrationId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the parent orchestration running this version.

This field is a relationship field.

Relationship Name

FlowOrchestration

Relationship Type

Master-detail

Refers To

FlowOrchestration



 |
| IsOverridable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the orchestration that's part of a managed package is overridable.

The default value is false.



 |
| IsTemplate | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the orchestration record version is a template.

The default value is false.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed a record related to this record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed this record.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The label of the orchestration.



 |
| OrchestrationType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The orchestration's flow type. FlowType consolidates ProcessType and TriggerType into one field. FlowType is used with permissions, so admins can control access to each flow type.

Valid values are:

- OrchAutolnch—Autolaunched No Trigger Orchestration: Launches when invoked by Apex, REST API, custom buttons, or custom links. An orchestration lets you create a multi-step, multi-user process.
- OrchRecTrigAftSave—Record-Triggered After Save Orchestration: Launches when a record is created or updated. An orchestration lets you create a multi-step, multi-user process. This type of flow runs in the background without user interaction.
- CmsOrchAutolnch—CMS Workflow Orchestration Autolaunched: Launches when invoked from the Workflows component in a CMS workspace. This type of orchestration lets you create a multi-step, multi-user process to create, edit, organize, and manage digital content from a centralized location





 |
| OverriddenById | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the orchestration that's overriding the current orchestration.

This field is a relationship field.

Relationship Name

OverriddenBy

Refers To

FlowOrchestration



 |
| OverriddenOrchestrationId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the orchestration that the current orchestration is overriding.

This field is a relationship field.

Relationship Name

OverriddenOrchestration

Refers To

FlowOrchestration



 |
| RunInMode | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The mode that the orchestration runs in.

Possible values are:

- DefaultMode—The orchestration version runs in system or user context, depending on how the orchestration is launched.
- SystemModeWithSharing—The orchestration version always runs in system mode with sharing. The orchestration respects org-wide default settings, role hierarchies, sharing rules, manual sharing, teams, and territories. But it doesn’t respect object permissions, field-level access, or other permissions of the running user.
- SystemModeWithoutSharing—The orchestration version can access all data. In the UI, this value appears as System Context without Sharing—Access All Data.





 |
| SourceTemplateId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

This field is a relationship field.

Relationship Name

SourceTemplate

Refers To

FlowOrchestration



 |
| Status | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The ID of the template that the orchestration was created from. This is a relationship field.(Refers to Orchestration Record).

Possible values are:

- Active—Active
- Draft—Inactive
- InvalidDraft—Draft
- Obsolete—Inactive
- UnderReview—Under Review





 |
| TriggerObjectOrEventLabel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The label of the object or platform event that triggers this flow.



 |
| VersionNumber | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The version number of the orchestration version.



 |

## 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.

[FlowOrchestrationVersionChangeEvent](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.