call_suborchestrator Module

Functions

call_sub_orchestrator_task

Determine the state of Scheduling a sub-orchestrator for execution.

call_sub_orchestrator_task(context, state: List[azure.durable_functions.models.history.HistoryEvent.HistoryEvent], name: str, input_: Optional[Any] = None, instance_id: Optional[str] = None) -> azure.durable_functions.models.Task.Task

Parameters

context
<xref:<xref:'DurableOrchestrationContext':>>
Required

A reference to the orchestration context.

state
<xref:List>[HistoryEvent]
Required

The list of history events to search to determine the current state of the activity.

name
str
Required

The name of the activity function to schedule.

input
<xref:Optional>[<xref:Any>]
default value: None

The JSON-serializable input to pass to the activity function. Defaults to None.

instance_id
str
default value: None

The instance ID of the sub-orchestrator to call. Defaults to "".

Returns

A Durable Task that completes when the called sub-orchestrator completes or fails.

Return type