Open dixonte opened 4 years ago
Additional, the documentation says that the instance should complete with a failed status (https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-error-handling?tabs=csharp#unhandled-exceptions). I would expect to be able to retrieve information on this failed instance.
Description
I have a long running durable function I'm calling from a logic app. Due to issue #1446, I have created my own 202 Accepted response code and an endpoint that reports the status of the orchestration via GetStatusAsync.
Not sure if it's relevant, but I am using an app service plan and linux hosting, but the same issue happens when running the function locally.
Expected behavior
I would expect GetStatusAsync to return description of the failure via a DurableOrchestrationStatus object when called after an instance has failed.
Actual behavior
GetStatusAsync returns null, as if the instance is being immediately deleted upon failure.
Relevant source code snippets
Known workarounds
Not aware of any workarounds.
App Details
Screenshots
N/A
If deployed to Azure