How to download Runhistory from standard logic app

Sriraghavendran Prabhakaran 20 Reputation points
2024-05-10T10:05:58.7433333+00:00

Hello

I need to download a run history for a specific time interval from logic app standard version. download to csv is preferable. Let me know the steps.

thanks

sri

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

Accepted answer
  1. VenkateshDodda-MSFT 21,976 Reputation points Microsoft Employee
    2024-05-10T10:41:59.3933333+00:00

    @Sriraghavendran Prabhakaran Thank you for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this.

    Unfortunately, we don't have any straight/out of the box solution for this.

    To achieve your requirement, you can create a custom solution/ PowerShell script which should have below actions.

    1. Invoke this Rest API Workflow Trigger Histories to list the run histories of particular workflow. This rest Api supports filtering and thereby using the $filter parameter in the request URL and $filter supports these filters on Status, StartTime, and ClientTrackingId properties only.
    2. Once you have listed the run histories then you can export the list to csv using export-csv in PowerShell

    Hope this helps, let me know if you have any further questions on this.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Luis Arias 7,376 Reputation points
    2024-05-10T10:33:58.5466667+00:00

    Hi please follow this treads:


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    Regards,

    Luis

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.