Marc Duiker

I ❤ Serverless


Discovering the Durable Functions API - DurableOrchestrationClient (part 2)

-

Methods in DurableOrchestrationClientBase

DurableOrchestrationClient(Base) class - Retrieving status

This 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:

Resources

  • azure
  • durable
  • functions
  • serverless
  • faas
  • stateful
  • orchestration

Marc Duiker profile

Marc Duiker

Lead Consultant @ Xpirit

Twitter || LinkedIn || Github