call_suborchestrator_with_retry Module

Functions

call_sub_orchestrator_with_retry_task

Determine the state of Scheduling a sub-orchestrator for execution, with retry options.

call_sub_orchestrator_with_retry_task(context, state: List[azure.durable_functions.models.history.HistoryEvent.HistoryEvent], retry_options: azure.durable_functions.models.RetryOptions.RetryOptions, 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.

retry_options
RetryOptions
Required

The settings for retrying this sub-orchestrator in case of a failure.

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