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

Use SubOrchestratorFunction

I'm trying to understand how parallelization works in Durable Function. I have a durable function with the following code (followed this tutorial:…
user989988
  • 3,006
  • 7
  • 44
  • 91
0
votes
1 answer

Durable azure function fanout with new context/request

Following the documentation for Durable Azure Function - Fan out/fan in In the diagram above, say we have a static variable like private static string _staticVar = "DEFAULT"; Some of the F2 instances need to set and then use _staticVar and some…
dushyantp
  • 4,398
  • 7
  • 37
  • 59
0
votes
1 answer

Cancel scheduled operation for azure function durable entities

Is it possible to cancel a scheduled operation in azure function durable entity ? Below is an example code.I want to cancel the call to operation "DeviceTimeout"after it is scheduled. Entity.Current.SignalEntity(Entity.Current.EntityId,…
0
votes
1 answer

'Guid.NewGuid' violates the orchestrator deterministic code constraint

I have an orchestration function as follows: [FunctionName(nameof(OrchestratorFunction))] public async Task RunOrchestrator( [OrchestrationTrigger] IDurableOrchestrationContext context) { _ =…
user989988
  • 3,006
  • 7
  • 44
  • 91
0
votes
0 answers

Exception in durable function

I have the following durable function code: [FunctionName("OrchestratorFunction")] public async Task RunOrchestrator([OrchestrationTrigger] IDurableOrchestrationContext context) { var jobs = await…
user989988
  • 3,006
  • 7
  • 44
  • 91
0
votes
1 answer

Writing unit tests for orchestration functions in Azure Durable Functions

I'm trying to learn how to write unit tests for durable function. Here is my code: [FunctionName("OrchestratorFunction")] public async Task RunOrchestrator([OrchestrationTrigger] IDurableOrchestrationContext context) { var…
user989988
  • 3,006
  • 7
  • 44
  • 91
0
votes
1 answer

Azure Durable Function - final retry logic

I'm building a durable function and I need to create some kind of alert if the activity fails after the maxNumberOfAttempts When debugging, I see that the DurableOrchestrationContext class has a property called History, but I cannot access that…
Safari137
  • 351
  • 3
  • 10
0
votes
1 answer

Conversion of Azure Function to serverless Function

I have an Azure Function App with the following code: public class JTFunction { [FunctionName("JT")] public async Task Run([TimerTrigger("%jtSchedule%")]TimerInfo myTimer, ILogger log) { …
user989988
  • 3,006
  • 7
  • 44
  • 91
0
votes
1 answer

Activity function in Durable Function

I'm converting an Azure Function to Durable Function. Currently, I have added one Activity function. Is there any benefit in adding multiple Activity functions instead of one (for instance, cost reduction, less completion time)?
user989988
  • 3,006
  • 7
  • 44
  • 91
0
votes
1 answer

Convert Azure Function to serverless Function

I have an Azure Function App which uses Y1 App Service Plan. I converted this Azure Function to a Durable Function. How do I make this function serverless?
user989988
  • 3,006
  • 7
  • 44
  • 91
0
votes
1 answer

CallActivityAsync same value for different functions

The variable isPlaceAvailable has always the same value as isComplete. It seems as the function monitorContext.CallActivityAsync("GetIsPlaceAvailable", input.Id) isn't even executed. while (monitorContext.CurrentUtcDateTime < endTime) …
0
votes
1 answer

Azure Durable Function Send EventPostUri by mail

I build a durable function for user provisioning in azure ad. My aim is an orchestration function which check for available licenses. If all licenses are in use, the function wait for an external event and retry the license assignment. To realize…
0
votes
2 answers

azure function app - how to disable many functions in a durable

I have an azure function app where many functions (serviceBusTrigger) send messages to one orchestrator then routed to an activity that does the hard work. I was struggling to understand, when I have to disable all the functions (for any reason),…
freedev
  • 25,946
  • 8
  • 108
  • 125
0
votes
1 answer

Using multiples storages and task hubs for orchestrators between same function app in Azure

I'm working with durable clients and I can't find the way to have multiple task hubs for each orchestrator in the same function app. Is this possible, and if so, how? Can I also have, between the same function app, multiple orchestrators using…
0
votes
1 answer

Azure Durable Functions Combining fan out with function chaining

I have a durable functions app for processing submitted items differently based on a FileName property. The Orchestrator function Resembles the below, though the below is a simplified example to illustrate my scenario. basically, I am function…
MattFace
  • 317
  • 3
  • 14