Logic app creates flow containers in storage account

Ricky Schuleman 25 Reputation points
2023-11-08T13:10:24.15+00:00

Hi there,

I have a Standard LogicApp with a stateful workflow, that's triggered daily on a recurrence trigger. This generates these containers prefixed with flow and suffixed with content:User's image

These container(s) contain various files for each run that occurred. I'm assuming this is a means of tracking state for a run, but I'm unsure why these files remain even after the run has completed. If I delete these containers, I am still able to view the run history for a run and the inputs/outputs for the actions that occurred, and not sure if they serve another purpose for which they need to remain.

In my workflow I make calls to some functionapps, and noticed that deleting these actions result in fewer files in these created containers - I've tried adding these functionapp actions back in and toggling settings for async etc on them, however they always seem to generate these files. There are other actions in my workflow like blob upload, and sending to a service bus topic that also result in files created within the container.

Could someone please explain what these are for, why they aren't cleaned up automatically, and what is the recommended configuration/actions to control this behaviour?

Thanks in advance.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,931 questions
{count} vote

Accepted answer
  1. Mike Urnun 9,776 Reputation points Microsoft Employee
    2023-11-08T22:31:03.2966667+00:00

    Hello @Ricky Schuleman - Thanks for reaching out, and posting on the MS Q&A.

    Regarding:

    Could someone please explain what these are for, why they aren't cleaned up automatically, and what is the recommended configuration/actions to control this behaviour?

    As you've already discovered, the storage tables are mainly for storing Run History data and are named with the following format: “flows__[LANamePrefix][WorkflowPrefix][yyyyMMdd]__t000000z” and ends with actions/variables. By default, the retention period is 90 days, I believe, and should be cleaned up automatically afterward. As for control & what's possible with the data, the following tool may be of help: https://github.com/Drac-Zhang/Logic-App-STD-Advanced-Tools


    Please "Accept Answer" if the answer is helpful so that others in the community may benefit from your experience.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful