loading...
Xpirit

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

marcduiker profile image Marc Duiker Originally published at blog.marcduiker.nl on ・2 min read

Methods in DurableOrchestrationClientBase

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:

Resources

Links to other posts in this series

Posted on by:

marcduiker profile

Marc Duiker

@marcduiker

I ♥ #Serverless, #DevCommunity, and Creative Coding!

Xpirit

Xpirit helps you solve your IT problems. We act in multiple roles, from boardroom advisor, coding architect and lead developer to trainer and coach.

Discussion

markdown guide