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

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

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

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay