MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.28k stars 21.46k forks source link

call_activity_with_retry will always be invoked once #112775

Open krzysztofstepien-tomtom opened 1 year ago

krzysztofstepien-tomtom commented 1 year ago

call_activity_with_retry will always be invoked once

Python version: 3.11.3 azure-functions-durable version: 1.2.4 azure-functions version: 1.15.0

Problem

Creating activity using call_activity_with_retry result in invoking the activity only once. There's no documentation provided how to create activity (and what should activity return) once we want to be triggered until some specific condition pass.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ManoharLakkoju-MSFT commented 1 year ago

@krzysztofstepien-tomtom Thanks for your feedback! We will investigate and update as appropriate.

It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

krzysztofstepien-tomtom commented 1 year ago

Here's the only link that i can find to the mentioned method: https://learn.microsoft.com/en-us/python/api/azure-functions-durable/azure.durable_functions.tasks.call_activity_with_retry?view=azure-python

The docs seems outdated and they redirect to the method in previous implementations

ManoharLakkoju-MSFT commented 1 year ago

@lmazuel Can you please check and add your comments on this doc update request as applicable.