---
schema_version: "1"
id: 4b544255f5845aecb0b06a163c44867fb005a999205b47bd9f9b61ea181d192d
title: FlowOrchestrationLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_floworchestrationlog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_floworchestrationlog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3390af2d99e63ced029c78720ce04ca90924cba2c1e25d626b0192b06fb231a3
description: Represents logging data for a FlowOrchestrationInstance. This object is available in API version 54.0 and later.
---
# FlowOrchestrationLog

Represents logging data for a FlowOrchestrationInstance. This object is available in API version 54.0 and later.

## Supported Calls

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

## Special Access Rules

If sharing rules are defined for FlowOrchestrationInstance and the Inherit orchestration run sharing rules to control orchestration run log record access setting is enabled, then orchestration run log record access is inherited from related orchestration run records. If the Inherit orchestration run sharing rules to control orchestration run log record access setting isn’t enabled, a user must have the Manage Flow permission. Or the user must have the View All Data permission.

## Fields

| Field | Details |
| --- | --- |
| Actor | 
Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

For an interactive step, the user that completed the work item.

For a background or MuleSoft step, the username of the user that the step ran as.



 |
| Assignee | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

For an interactive step, the user, group, or queue assigned to a work item when the FlowOrchestrationLog relates to an interactive FlowOrchestrationStep.



 |
| AssigneeType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

For an interactive step, the assignee type associated with an interactive step's work item. Valid values are:

- Group
- Invalid
- Queue
- User





 |
| Comments | 

Type

string

Properties

Filter, Nillable, Sort

Description

The string stored in an output variable with the API name of Comments from a flow called by a completed orchestration step.



 |
| Context | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID of the record where the assigned user completed the flow associated with an interactive step in the Work Guide component.



 |
| Duration | 

Type

long

Properties

Filter, Group, Nillable, Sort

Description

A long number that indicates the duration, in seconds, of the associated FlowOrchestrationInstance, FlowOrchestrationStage, FlowOrchestrationStep, or FlowOrchestrationWorkItem.



 |
| Kind | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The milestone associated with the FlowOrchestrationLog. Valid values are:

- CancelInstance—The associated FlowOrchestrationInstance was canceled.
- DiscontinueStage—The associated FlowOrchestrationStage was discontinued.
- DiscontinueStep—The associated FlowOrchestrationStep was discontinued.
- EndInstance—The associated FlowOrchestrationInstance was completed successfully.
- EndStage—The associated FlowOrchestrationStage was exited successfully.
- EndStep—The associated FlowOrchestrationStep was exited successfully.
- EndWorkItem—The associated FlowOrchestrationWorkItem was completed successfully.
- FailInstance—The associated FlowOrchestrationInstance encountered an error.
- FailStage—The associated FlowOrchestrationStage encountered an error.
- FailStep—The associated FlowOrchestrationStep encountered an error.
- ResumeInstance—A failed or paused orchestration instance was resumed.
- ReassignWorkItem—The associated FlowOrchestrationWorkItem was reassigned.
- RunRecallPath—The associated approval submission was recalled.
- StartInstance—The associated FlowOrchestrationInstance started.
- StartStage—The associated FlowOrchestrationStage started.
- StartStep—The associated FlowOrchestrationStep started.
- StartWorkItem—The associated FlowOrchestrationWorkItem started.
- SuspendInstance—The associated FlowOrchestrationInstance was suspended.
- SuspendStage—The associated FlowOrchestrationStage was suspended.





 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, Sort

Description

The name for the FlowOrchestrationLog record.



 |
| OrchestationInstanceId | 

Type

reference

Properties

Filter, Sort, Group

Description

The FlowOrchestrationInstance associated with the FlowOrchestrationLog.

This field is a relationship field.

Relationship Name

OrchestrationInstance

Relationship Type

Lookup

Refers To

FlowOrchestrationInstance



 |
| OrchestrationName | 

Type

string

Properties

Filter, Group, idLookup , Sort

Description

The API name of the orchestration.



 |
| OrchestrationVersion | 

Type

int

Properties

Filter, Group, Sort

Description

An integer for the FlowDefinitionVersion of the orchestration associated with the FlowOrchestrationLog.



 |
| StageName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The API name of the stage in the associated orchestration.



 |
| StepName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The API name of the step in the associated orchestration.



 |
| Timestamp | 

Type

dateTime

Properties

Filter, Sort

Description

The date and time when the FlowOrchestrationLog milestone occured.



 |

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

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

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

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

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