IDurableOrchestrationContext.ParentInstanceId Property

Definition

Gets the parent instance ID of the currently executing sub-orchestration.

public string ParentInstanceId { get; }
member this.ParentInstanceId : string
Public ReadOnly Property ParentInstanceId As String

Property Value

The ID of the parent orchestration of the current sub-orchestration instance. The value will be available only in sub-orchestrations.

Remarks

The parent instance ID is generated and fixed when the parent orchestrator function is scheduled. It can be either auto-generated, in which case it is formatted as a GUID, or it can be user-specified with any format.

Applies to