Questions tagged [azure-durable-functions]

Durable Functions is an extension of Azure Functions and Azure WebJobs that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.

Durable Functions is an extension of Azure Functions and Azure WebJobs that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.

https://learn.microsoft.com/en-us/azure/azure-functions/durable-functions-overview

668 questions
0
votes
1 answer

Does Durable Azure Function Orchestrator release lock on timer?

I have this code in my Azure Function: using var entityLock = await orchestrationContext.LockAsync(entityId); for (int i = 0; i < 3; i++) { // call an entity function, if it does not succeed : wait with a timer like this and then try again …
Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207
0
votes
1 answer

Azure Durable Function Orchestration GetInput Doesn't Work

I have an issue working on durable function 2.0. First, I have the queueTrigger, who call the OrchestrationTrigger [FunctionName("StartOrchestration")] public static async Task Run([QueueTrigger("TestDurableFunction", Connection =…
0
votes
1 answer

Why the "runtimeStatus" in "statusQueryGetUri" not set immediately after timer is finished?

Why the "runtimeStatus" is set to "Completed" only after 52 seconds not 30 as I set in context.CreateTimer() function when checking it with statusQueryGetUri http request? The documentation that I used My Code [FunctionName("H")] public…
Antny
  • 1
  • 1
0
votes
1 answer

Azure Logic Apps- How to implement long-running tasks via Durable Functions, via the polling action pattern

I have an azure function that takes in these parameters (source container, source filename, destination folder, and destination container) and unzips the source filename in the folder in the destination container. There are several actions in the…
0
votes
0 answers

Force Azure Functions to create a new instance instead of queuing messages

I'm using Azure Durable Functions to compute long, CPU-consuming process (implemented in a C++ node module). Message handling can take several minutes. I have set host.json so that messages are not processed in parallel : "extensions": { …
0
votes
1 answer

Azure Functions Consumption Plan WCF Client Errors "attempt failed because the connected..."

We recently switched our azure functions durable functions based app from a dedicated s1/standard app service plan to dynamic y1 plan to same money and now we are getting a common error: "A connection attempt failed because the connected party did…
0
votes
1 answer

End all durable functions of an function app / storage account

We want to migrate all currently executing durable functions from a function app to a newly developed function app. The states of the active durable functions are stored in a table. This means that we just can start the new durable function and it…
0
votes
1 answer

Orchestrator is not fired in Azure Durable Function

We have lots of files that get created in blob storage and consequently we are passing these files to the azure functions. However with Azure function and event grid trigger it was timed out after certain no. of files were processed. Hence now I am…
0
votes
2 answers

Durable function stuck in running state

I have a durable function which get stuck in "Running" status when an activity function fails. No activity function is running, why would that be the case? Last update date for this instance in functionInstances table is 2020-11-19T05:00:32.761Z
Sadiq Khoja
  • 522
  • 1
  • 5
  • 23
0
votes
0 answers

Azure Durable functions : Activity functions are getting retriggered during parallel execution

I have a requirement where I need to process records from excel. I am using durable functions.Orchestrator client is blob trigger. The Orchestrator function will read blob and trigger activity function asynchronously.Problem that I am facing is…
0
votes
1 answer

Using Azure Durable Functions with a CosmosDBTrigger

I have a data pipeline that is reading the change feed from CosmosDB and loading the data into an external resource via Durable Functions. My start function (in Python) looks something like this: import azure.durable_functions as df import…
0
votes
1 answer

Azure Durable Function getting slower over time due to storage

I have to fetch update for 20000 records from external API daily.When function starts it perform well, but after some time(1hr) it become slow due to data generated in storage. Can I clear instance history while running the function. or any other…
0
votes
0 answers

Azure Function Application warm up state

I am currently using multiple azure function app instances, with the "apiVersion": "2015-08-01" . Currently I dont use any warmup triggers and only few functions stay always in "warmup" state, even when restart the application is goes to warmup…
Heshan
  • 772
  • 8
  • 22
0
votes
2 answers

How can I 'listen' for status changes on an azure durable function?

I have a web app where clients can press a button that calls a durable function. As long as that function is executing, a spinning wheel is animated. When the function finishes executing, I stop/hide the loading wheel, and show a green…
Chris Phillips
  • 1,997
  • 2
  • 19
  • 34
0
votes
1 answer

Cleanup on termination of durable function

Is it possibly to somehow get notified that the durable function as been or about to be terminated, such that it is possibly to initiate cleanup of the already finished activity functions for example? In my example we're sending multiple requests to…