Power Apps Exchange

Please login or click SIGN UP FOR FREE to create your PowerAppsUG account to join this user group.
 View Only
  • 1.  Respond to PowerApp - Timeout

    Posted Oct 06, 2022 02:44 AM
    Hi,

    i am currently building some kind of import workflow that imports entries from an Excel File into Dataverse.
    I start the workflow via PowerApps and during the flow run, it shows a loading spinner in the app. As soon as the workflow is finished, i want to show the result in PowerApps (Respond to PowerApps).
    For small amount or excel rows, this works fine, but as soon as the workflow runs a bit longer because of a large amount of entries, the "Respond to PowerApps" step runs into a timeout error. Is there any way to increase the timeout or is there any other way to show in the PowerApp, that the workflow is finished?

    Thank you!

    ------------------------------
    Fabian Heil
    ------------------------------


  • 2.  RE: Respond to PowerApp - Timeout

    Silver Contributor
    Posted Oct 07, 2022 04:04 AM
    Hi Fabian,

    what do you mean by "a bit longer"?
    I have a flow running for 11 sec with a 'respond to powerapp' and this is running fine. I haven't seen any option to increase this timeout to be honest.

    If it's keeps on failing, you could write some value in a table somewhere at the end of your flow and have your powerapp check if that value is there or not. That will give you an indication on the progress of your flow

    ------------------------------
    Koen Mathijs
    ------------------------------



  • 3.  RE: Respond to PowerApp - Timeout

    Posted Oct 07, 2022 04:50 AM
    Oh, with longer i mean 30 Minutes or longer :D I iterates through an excel file with 200 -800 items.
    Without the respond step, it works fine, but the respond steps times out after some minutes

    ------------------------------
    Fabian Heil
    ------------------------------



  • 4.  RE: Respond to PowerApp - Timeout

    Silver Contributor
    Posted Oct 07, 2022 05:14 AM

    There is actually a time-out of 2 minutes (which is already past the usual standard of 60 sec) for a gateway time-out. Prolonging this doesn't seem like a good idea.

    The only workaround I see is to update some sort of database field and poll that for success or not.

    More info can be found in this thread:
    https://powerusers.microsoft.com/t5/General-Power-Automate/Respond-to-a-PowerApp-or-flow-time-limit/td-p/945549



    ------------------------------
    Koen Mathijs
    ------------------------------