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
Feed tracking is available for the object.
FlowOrchestrationLogHistory
History is available for tracked fields of the object.
FlowOrchestrationLogOwnerSharingRule
Sharing rules are available for the object.
FlowOrchestrationLogShare
Sharing is available for the object.