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
1
vote
0 answers

Failed to propagate context in Azure Functions

Getting this new error in Azure Function App. Both on cloud and running locally with emulation. ApplicationInsights:Failed to propagate context in Azure Functions TypeError: Cannot read properties of null (reading 'customProperties') at…
WillD
  • 5,170
  • 6
  • 27
  • 56
1
vote
2 answers

TaskActivityContext is null within activity function in Durable Functions (Isolated)

I recently upgraded to the isolated NET7 Azure Functions worker. Durable Function's API has changed quiete a bit in with that, but it is GA now. I need to get the orchestration's instance id from within the activity function. Previously (with the…
1
vote
1 answer

Retry mechanism for NET Isolated Durable Azure Functions

I am migrating a NET6-based in-process function app to a NET7-based isolated function app. It uses Durable Functions, which have changed quite a bit in its API. I need to call an activity function that needs to be retried if the error message…
baouss
  • 1,312
  • 1
  • 22
  • 52
1
vote
1 answer

how to fire and forget in azure durable functions

I want to fire and forget in a nodejs durable orchestrator a call to an activity yield context.df.callActivity("Activity1", "name") but I noticed that the orchestrator waits for this to complete I want to fire the activity and forget about it and…
1
vote
1 answer

How to disable durable function verbose logging

I'm getting a massive amount of verbose and information level logging in my Application Insights log stream when running my durable function. I tried to disable these with host.json and Serilog config without any luck. Log output DI I'm using…
1
vote
1 answer

Long running function in .net core 6

I've created an endpoint which takes in quite a bit of data and sometimes the processing of it takes from 5 to 20 minutes. I want to create an asynchronous HTTP API to handle this and similar future cases. I've been reading around and I can't come…
1
vote
2 answers

How to insert a middleware in Azure Durable Functions

I would like to insert a middleware to Azure Durable Functions v4 (.NET 6) which gets a correlation id from the HttpTrigger and registers that into logger factory so that it is visible in application insights. Also vice versa; attaches correlation…
Serhat
  • 216
  • 2
  • 17
1
vote
0 answers

Azure Durable Functions, Cannot access entity state from activity

While using Azure Durable functions and attempting to learn it I have created an orchestrator that is going to read a state of an entity, and then call other activities to perform other logic after. Pretty straightforward I thought. Inside the…
1
vote
1 answer

Azure function activity starts automatically after clicking on Run or Debug locally

I have a HTTP Trigger Azure Durable Functions on C# and I use Azurite as local storage for the function. So when I run or debug the project locally, the activity functions are triggered automatically without any http request. I stop debugging, then…
Serhat
  • 216
  • 2
  • 17
1
vote
2 answers

DurableClient and OrchestrationTrigger cannot be used in .NET 7 Azure Function

I am now upgrading to .NET 7 Durable Function The attributes below are not available with these [DurableClient] IDurableOrchestrationClient starter [OrchestrationTrigger] IDurableOrchestrationContext context [ActivityTrigger] I get an error with…
Paul
  • 2,773
  • 7
  • 41
  • 96
1
vote
1 answer

Python Durable Function doesn't call Activity

I have 3 Azure Functions where I am trying to orchestrate. For some reason, the activity function isn't getting invoked. The flow is as below F1 (Service Bus) -> F2 (Orchestrator) -> F3 (Activity) F1 This is the function invoked by Service Bus…
GeekzSG
  • 943
  • 1
  • 11
  • 28
1
vote
1 answer

Nuget Packages are not restoring in Azure Function

I have created a durable function to call the holiday API. For that, I have created one Activity function. to call API using the RestSharp, I have added RestSharp NuGet package in function.proj file but it is not working as it throwing error: System…
1
vote
0 answers

Azure durable function Orchestrator marked as completed but there are several activities not triggered

I developed a durable function that runs every day and calls an activity function between 0-1000 times (depending on the number of rows in the database that day). In the begging everything was working well, even when there were thousands of rows in…
NLP10
  • 31
  • 5
1
vote
1 answer

How to identify why durable functions running in parallel are still slow

We have the following function which splits a task into separate functions (Fan Out) [FunctionName("process-orchestration")] public async Task ProcessOrchestrationAsync( [OrchestrationTrigger] IDurableOrchestrationContext context) { var…
Paul
  • 2,773
  • 7
  • 41
  • 96
1
vote
0 answers

Json Serialization fails with FunctionInputConverterException for complex types in Durable function

I am creating a durable function for Azure Functions (.NET 6 out-of-process). I get errors when passing complex types from orchestrator to activity. It appears the TaskOrchestrator and the TaskActivity have different JSON serialization…
ulvesked
  • 429
  • 3
  • 11