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

Where do you do CallActivityAsync in orchestration method

I have just started using durable functions and needs some advise for how to do fan out pattern correctly. I have a FTP server where from I read all the files. I want to start an Activity function for each file. As I understand it the orchestrator…
Thomas Segato
  • 4,567
  • 11
  • 55
  • 104
0
votes
1 answer

Azure Functions runtime is unable to start - Microsoft.Extensions.DependencyInjection

I have created a C# V2 Azure durable function which runs ok when I run in Visual Studio 2019. However, once deployed to Azure, I'm presented with the following: The function runtime is unable to start. Interfaces.Avaloq.Presentation.AzureFunctions:…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

Activity trigger called twice within an orchestrator

We have an orchestrator which gets called by timer trigger every minute. In the orchestrator, there are multiple activity triggers called in function chaining mechanism. However there was one instance, where the each activity trigger was called…
0
votes
1 answer

Azure Durable Function: High Processing time make the function time out

I have created an azure durable function, which is calling about 8 activity functions. These activity functions create about 100 Threads, which start http requests. The data I receive has to be transformated. This process needs some calculation…
MJohnyJ
  • 99
  • 9
0
votes
1 answer

Create a service bus subscription in durable functions

Is it possible to create a service bus subscription and register a message handler? I'm a new to durable functions and quite concerned because of orchestrator code constraints, especially with this: Orchestrator code must never initiate any async…
Roman Koliada
  • 4,286
  • 2
  • 30
  • 59
0
votes
1 answer

VS2019 - Durable function (v1.8.3) and non-durable Function in a single function app - is supported?

I have a VS 2019 solution, with two functions. One Durable Function with an Orchestration Client triggered by a BLOB trigger and its related activities. And another non-durable function triggered by a service bus event trigger. The non-durable…
Athadu
  • 854
  • 7
  • 13
0
votes
0 answers

Why Durable Function takes too much time to be "Completed"?

I want to use Azure Durable Functions to orchestrate my functions. This is my code (auto-generated by VS Code when you create a Durable Function) : [FunctionName("testorchestration")] public static async Task> RunOrchestrator( …
ElRoro
  • 203
  • 1
  • 13
0
votes
1 answer

Retrying Durable Function activity/orchastrator later

Consider the following scenario: My orchestrator O starts, and calls sub-orchestrator S. S succeeds in processing activities A1 and A2 but fails in A3. I have automatic retries on A3, but no luck (the webservice i'm calling is giving a 404). No…
MarkB
  • 1,783
  • 2
  • 17
  • 32
0
votes
1 answer

Azure Durable Functions - where is the config that points to the durable functions storage account

I have just created a durable function in the portal directly with: Starter function Orchestrator function Activity function The reason I used the portal as I am at home and dont want to down load 4GB of VS 2019 on my home internet. Anyway, in the…
RuSs
  • 1,725
  • 1
  • 29
  • 47
0
votes
1 answer

Handling errors/failures occurred in Azure Durable Functions called by queue-triggered Azure Functions

We have an Azure Storage Queue which triggers an azure function once a payload/message hits the queue. The queue-triggered function invokes another durable function to process the message/payload. Here it is the code snippet: …
Arash
  • 3,628
  • 5
  • 46
  • 70
0
votes
1 answer

Waiting for Promise inside Azure's Orchestrator's Generator

Using the example from Azure for creating a Durable Function (https://learn.microsoft.com/en-us/azure/azure-functions/durable/quickstart-js-vscode) , I have a working example of the Orchestrator passing each child process a JSON Document that I…
0
votes
1 answer

Azure DurableOrchestration function stuck(?) in status of "WaitingForActivation" when invoking CallActivityWithRetryAsync()

I am trying to locally step through (using Visual Studio 2019) a Durable fuction, but when I invoke a call to context.CallActivityWithRetryAsync("MyActivity_Activity", retryOptions, myActivityParameters) from the OrchestrationTrigger, that…
0
votes
1 answer

Sending messages on scale to Service Bus from durable functions

I have a scenario where one activity function has retrieved a set of records which can be anywhere from 1000 to a million and stored in an object. This object is then used by the next activity function to send messages in parallel to service…
Sanal
  • 55
  • 1
  • 7
0
votes
0 answers

Javascript Durable Functions fail when called during Azure Function App warmup period

Also reported on GitHub: https://github.com/Azure/azure-functions-durable-js/issues/86 When using the Consumption Tier of Azure Function Apps, the service is put into an idle state. The next request to the service "wakes up" the service, and may…
Anthony McLin
  • 435
  • 4
  • 5
0
votes
2 answers

How can we calculate the total time to run the Orchestration function

I am having an orchestration function which is managing some activities. I have a stopwatch to calculate the time taken to complete those activities. While running its reset the timer as the orchestration trigger keeps on replaying. Is there any…
suresh
  • 329
  • 2
  • 4
  • 8