I have an event grid which publishes a lot of events, and a logic app which needs to consume some of them. These events aren't guaranteed to be in order, and events which require another event to be processed first, might end up in the logic app prematurely, causing them to fail.
From the documentation, I can see that event grid supports a retry policy, with an increasing time interval. This would solve my problem.
However, it seems like the logic app in question, always acknowledges events from the event grid, even though the process is stopped early with the Terminate action in the failure state and with an error code.
From the logic app overview, the runs are shown as failed. But the event grid never attempts a retry, and seems to consider the events successful. What can I do to make the event grid retry failed logic app runs?
How to retry sending events from Azure Event Grid to Logic Apps
1.3k views Asked by Mikkel Olsen At
2
There are 2 answers
0
MeDeveloper
On
Event Grid will retry depending on how you terminate your Logic App. If you terminate using http response action (status code 500) then event grid will attempt retries.
Now, depending on what is going on in your Logic app, handle the failures in a way that it terminates on http response action with status code 500.
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in EVENTS
- OpenLayer 3: Map pointer up event can not be triggered when the map created on overlay
- Angular scroll directive
- Setting multiple events in one ext.net button
- Detect if Application was suspended in OnNavigatedFrom for Windows Phone 8
- When in click a radio button, it scroll to the top. How to prenvent that?
- Event subscribed but null in child class (after threads initialize)
- How to get results each sec from "perf stat -d sleep 1000"
- How to register event for TextBox end editing
- Stop the installshield installation if a file is not found in vb.net
- How to capture the next event based on a condition
- Flask server to notify webclient when changes occur
- Google analytics event tracking, retrieve results
- What is the correct way to code event handlers for serializable model objects?
- Android version of NSNotificationCenter (event binding)
- Center JoptionPaneMessageDialog in parent element of the source element that generated the event
Related Questions in AZURE-LOGIC-APPS
- Azure Logic Apps SMTP Connector {"code":"BadRequest","message":"Http request failed: the timeout was reached."}
- Azure Logic Apps: Insert MULTIPLE rows to Azure SQL Database
- Can't figure out monitoring and "trackedProperties" setting
- Custom logic app connector
- Azure function gives "The 'code' query parameter provided in the HTTP request did not match the expected value."
- How can I make my Azure logic app portable
- Parsing/ converting Json to XML i Logic Apps, possible?
- How to add a reference of "System.ServiceModel" from Azure Function?
- azure logic app, visual studio, open existing logic app from portal?
- Create Logic Apps workflow using SDK (C#) samples
- Azure Logic Apps - ARM template to deploy filesystem API connection
- Logic App Get rows task processes only 512 rows?
- How to rename existing Azure Logic App?
- Azure logic app SFTP connection Error "A reference was made to a file which does not exist."
- Most Logic App connectors don't work within the Azure Portal
Related Questions in AZURE-EVENTGRID
- Azure EventGrid Subject vs EventType
- Create an Event when storage account is updated it will trigger an event and send a message in storage queue Azure Portal
- Azure Function EventGrid Trigger does not support Key Vault references?
- How to view actual Azure Event Grid message?
- Event Grid-triggered Function Keeps Triggering After Function Successfully Runs?
- Advantages of using event hubs capture
- Enrich device life cycle events Azure IoT Hub
- How to ensure only one Azure Functions Event Grid Trigger instance is allowed to run at at time?
- How to troubleshoot queue-triggered Azure Function (Python) will not trigger?
- Unable to subscribe to storage event in standard logic app workflow
- How to bind CosmosDB and Event Grid to Azure Durable Functions
- Azure Function that captures change in multiple tables
- azure bicep function app with event grid trigger from storage account - how to create a function resource for event grid subscription?
- Azure Relay - Not able to Consume/Receive events via Azure Hybrid Connection with Node
- Azure function stuck in timeout loop
Related Questions in RETRYPOLICY
- Azure Queue Storage Proper Call Pattern in 2015?
- How to manage retry policy for specific response? (Robospice)
- Azure Service Bus: transient errors (exceptions) received through the message pump with built-in retry policy. Why?
- Volley policy send request 2 times
- How do deal with SMTP timeouts
- Apache HttpClient : Retry with failsafe results in 400 (bad request)
- It this a good option to use SqlAzureExecutionStrategy but not in user initiated transactions code?
- How to retry sending events from Azure Event Grid to Logic Apps
- When setting up a state machine in the AWS CDK, how do you remove the default Retry policy for a Lambda Invocation?
- Polly Circuit Breaker / Retry to automatically restart queries after a network outage
- Azure storage queue - retry mechanism implementation
- Swipe Refresh Layout retry progress bar after (x) minutes
- wso2 API retry mechanism in throttling
- Microsoft Graph for OneDrive Throttling Issue - RetryAfter Property is null
- How to add dynamic retry policies using dotnet core and Polly
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It seems that once the
Azure logic appis triggered, the event in theAzure event gridis considered to be processed.I think you can configure retry policy at the step where your
Azure logic appfailed, please refer to Retry policies.Take the example of
Httpaction:You can click
···in the upper right corner of theHttpaction, then clickSettings, and select the type you want underRetry Policy: