DEV Community

Marc Duiker for Xebia Microsoft Services

Posted on • Originally published at blog.marcduiker.nl on

2

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

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

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay