---
schema_version: "1"
id: b1480b37c147caa7e97ba0667fa66e82fe39bd8b0f4b2fa4ff48171cb2ca903d
title: FlowOrchestrationStepInstance
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_floworchestrationstepinstance.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_floworchestrationstepinstance.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 56d10210f049e561e704896c5225f72e4c802b3228f612131d65973c8f34bb34
description: Represents a run-time instance of a step in a run-time instance of a stage of a run-time instance of an orchestration. This read-only object is available in API version 53.0 and later.
---
# FlowOrchestrationStepInstance

Represents a run-time instance of a step in a run-time instance of a stage of a run-time instance of an orchestration. This read-only object is available in API version 53.0 and later.

## Supported Calls

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

## Special Access Rules

If sharing rules are defined for FlowOrchestrationStepInstance, they determine access to specific orchestration step run records. Or the user must have the View All Data permission.

## Fields

| Field | Details |
| --- | --- |
| Description | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

The description of the step.



 |
| Label | 

Type

string

Properties

Filter, Group, Sort

Description

The label of the step.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The API name of the step.



 |
| OrchestrationInstanceId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the FlowOrchestrationInstance associated with the orchestration step instance.

This field is a relationship field.

Relationship Name

OrchestrationInstance

Relationship Type

Lookup

Refers To

FlowOrchestrationInstance



 |
| OwnerId | 

Type

reference

Properties

Filter, Group, Sort, Update

Description

The ID of the automated process user. This field is available in API version 56.0 and later.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

User



 |
| StageInstanceId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the FlowOrchestrationStageInstance associated with the orchestration step instance.

This field is a relationship field.

Relationship Name

StageInstance

Relationship Type

Lookup

Refers To

FlowOrchestrationStageInstance



 |
| Status | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The status of the orchestration step instance. Valid values are:

- Completed—The step instance completed.
- Discontinued—The step instance was in progress or completed when it’s associated stage instance completed, or the step was in progress or completed when the orchestration instance encountered an error.
- Error—The step instance encountered an error or the autolaunched flow associated with a step instance encountered an error.
- InProgress—The step instance is running, the step instance was in progress when its associated stage encountered an error, or the screen flow associated with the step instance encountered an error.
- NotStarted—The step instance was created, but hasn’t met its entry condition.





 |
| StepType | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The type of step. Valid values are:

- InteractiveStep—Interactive Step
- BackgroundStep—Background Step
- AynchronousBackgroundStep—Asynchronous Background Step
    
    This value is available in API version 54.0 and later.





 |

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

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

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

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

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