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

Azure Durable Function - counter in orchestration

I'm building a Durable Function based on the monitor pattern. I have the code below and my question is regarding the counter variable which I used for a simple exponential retry-backoff. [FunctionName("RequestOrchestrator")] public static async Task…
silent
  • 14,494
  • 4
  • 46
  • 86
0
votes
1 answer

What architecture for a "function workflow" with Azure?

Use case I'd like to build a workflow for a specific process and want to use Azure functions to achieve this. All these functions needs to be "chained" and the process cannot continue if one function fails. I need to get an updated status during the…
0
votes
1 answer

dotnet build is not generating extensions.json file for azure function

I've opened an issue here at the beginning: https://github.com/Azure/azure-functions-durable-extension/issues/692 Actually, it's not a bug in the durable function but more a msbuild issue. Looking at the build on a working machine, I have this…
JuChom
  • 5,717
  • 5
  • 45
  • 78
0
votes
0 answers

When to use azure functions vs azure durable functions when doing ETL at regular interval

I need to run a job at regular 5 min interval where the we will call a web service to get data then transform the data and update the database. For such scenario should is it best to use azure functions or azure durable functions.
kumar
  • 8,207
  • 20
  • 85
  • 176
0
votes
1 answer

Durable Function "monitor" in portal and Orchestration replay events

I've set logReplayEvents to false even though that's the default just to be sure but I'm still seeing multiple entries for my orchestration function for a single invocation in the Monitor section on the Azure portal: Any idea how, if it's possible,…
Simon
  • 1,613
  • 1
  • 12
  • 27
0
votes
1 answer

Can Durable Activity Functions use binding attributes?

It appears that I cannot have an activity function which uses a Blob binding. The following gives runtime errors: [StorageAccount("AzureWebJobsStorage")] [FunctionName("LoadBlobFromBlobStorage")] public static async Task
phil
  • 1,938
  • 4
  • 23
  • 33
0
votes
1 answer

Azure functions - durable functions, SetCustomStatus not updating

I created a durable function based on Microsoft examples from the pattern of "Async HTTP APIs". In my code flow I wish to update the "SetCustomStatus" without using the "await contextReq.CallActivityAsync". Is it possible? since my durable function…
Nat
  • 43
  • 1
  • 4
0
votes
1 answer

Azure EventHub and Durable Functions

Literally trying out to make do of something I am not good at. I have read upon the durable function overview here - https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview. There is a topic on using Bindings to…
PEF
  • 125
  • 2
  • 11
0
votes
1 answer

Response bindings for Functions with ActivityTrigger

I want to create a Durable Function that calls an Activity Function, and then returns a value using dotnet core in a v2 function app. The function will of course validate its input, so may return a successful value or it may return an invalid error:…
Aidan
  • 4,783
  • 5
  • 34
  • 58
0
votes
1 answer

Azure Logic apps take hours/days to run Azure Functions

Background I have a set of logic apps that each call a set function apps which are run in parallel. Each logic app is triggered to start at a certain time during the night with all staggered an hour apart. The Azure functions are written using the…
0
votes
1 answer

Activity does not get executed after Catching error in Orchestration

let a = null; try { a = yield context.df.callActivityWithRetry("Some1Activity", retryOptions, obj); } catch(error){ context.log(JSON.stringify(error)); yield context.df.callActivityWithRetry("Some2Activity", retryOptions, obj2); …
Nafis Islam
  • 1,483
  • 1
  • 14
  • 34
0
votes
1 answer

Cannot see log.LogInformation() messages in local storage

I have written a durable functions app and I am running/debugging it locally. My local.settings.json is: { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", "AzureWebJobsDashboard":…
phil
  • 1,938
  • 4
  • 23
  • 33
0
votes
3 answers

Durable Functions: Get failed tasks in Fan out pattern

I'm using the fan-out pattern to execute a list of tasks that have a possibility of failing. So I'm using the retry strategy to retry a couple times. Right now, if the SaveActivity fails after the last retry then it drops into the catch block and i…
webber
  • 1,834
  • 5
  • 24
  • 56
0
votes
1 answer

Timeout in an Activity Function of Azure Durable Functions

In my activity function I am doing this do { await timeout(500); } while (await getStatus() === false); where, function timeout(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } getStatus() is a function that does a get…
Nafis Islam
  • 1,483
  • 1
  • 14
  • 34
0
votes
1 answer

Can I deploy Durable Azure Function in ASE

Can I deploy Azure Durable Functions in to ASE (Azure Service Environment)? I know we can deploy Azure Functions in to ASE. But could not find details if Durable functions can be deployed. Thanks in Advance!