MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.31k stars 21.49k forks source link

durable functions event publishing to Event Grid - runtime status confusion #124434

Open He-Wolf opened 2 months ago

He-Wolf commented 2 months ago

The possible values of runtime status is lited here: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-event-publishing?tabs=csharp-script#event-schema

In the subject part, it is said that the runtime status can be: Running, Completed, Failed, and Terminated. But in the data.runtimeStatus section it is said that runtime status can be: Running, Completed, Failed and Canceled.

My question is if we will get Terminated, Canceled or both of these values depending on the property?

ManoharLakkoju-MSFT commented 2 months ago

@He-Wolf Thanks for your feedback! We will investigate and update as appropriate.

He-Wolf commented 2 months ago

I found another documentation page where the durable function runtime state values are a bit different: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-instance-management?tabs=javascript#query-instances

PesalaPavan commented 2 months ago

@He-Wolf Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.