Discovering the Durable Functions API - Retrieving the orchestration status (DurableOrchestrationClient part 2)

Durable Orchestration ClientBase

DurableOrchestrationClient(Base) class - Retrieving status

This post is the second part of a series of blogs/vlogs to discover the Durable Functions API.

In the video linked below, I'm looking into the functionality from the DurableOrchestrationClient(Base) class, which can be used to retrieve the status of orchestration instances.

These are the methods to retrieve the status of one orchestration and return a DurableOrchestrationStatus object:

  • GetStatusAsync(string instanceId)
  • GetStatusAsync(string instanceId, bool showHistory);
  • GetStatusAsync(string instanceId, bool showHistory, bool showHistoryOutput, bool showInput = true);

These are the methods to retrieve the status for multiple orchestrations and they return an IList<DurableOrchestrationStatus>:

  • GetStatusAsync(CancellationToken cancellationToken = default(CancellationToken));
  • GetStatusAsync(DateTime createdTimeFrom, DateTime? createdTimeTo, IEnumerable<OrchestrationRuntimeStatus> runtimeStatus, CancellationToken cancellationToken = default(CancellationToken));

Here's the video, please give it a thumbs up if you like it and subscribe to my channel if you haven't done so already: