Hi Guys,
I recently got some help with a Reminder Loop , and since I implemented the solution my flow has been failing with error message:
The execution of template action 'Respond_to_a_PowerApp_or_flow' is failed: the client application timed out waiting for a response from service.
This means that workflow took longer to respond than the alloted timeout value.
The connection maintained between the client application and service will be closed and client application will get an HTTP status code 504 Gateway Timeout.
It doesn't always fail, but when it does it's only the last action (respond to power app or flow) that fails and the rest of the actions complete successfully.
Here is what my flow looks like:
Here is a screenshot of the error I am getting:
Please help 😟
Seeing as the approval action could run for 30 days - would it not be better to update a status in a data source and have power apps check that data source when the user is interacting with it?
Hi @JimJim
Does your flow running longer than 1 minute?
These long running flows called from Power Apps will time out after one minute.
Please refer to link below to see if it could helps.
https://sharepains.com/2019/10/10/calling-long-running-flows-in-powerapps/
Best Regards
If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-LilyW-msft ,
My flow isn't being called by Power Apps, it gets called from a parent flow which runs on schedule every hour. Before I edited my reminder loop the flows would run for days without this issue, now all of a sudden it is failing
Edit: When the flow doesn't fail, I notice that it skips the 'respond to power app or flow' action, like so:
But sometimes I get this error message instead:
The trouble is that there doesn't seem to be any consistency between completing successfully and completing with error
Just to add an observation...
For the purposes of testing, I set my reminder loop to run every 1 minute and send the reminder email every 5 minutes. After I respond to the approval it takes a few seconds to complete the rest of the flow, if I approve it just before the next reminder increment and the reminder loop finished before the rest of the flow, this is when I get the error message. However, if the flow reaches the 'respond to power app or flow' before the reminder loop finishes then it completes successfully.
I have no ides why this happens or if this is the expected behaviour, but in production the reminder loop will increment much less frequently and I don't expect this to be an issue
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
72 | |
27 | |
22 | |
15 | |
13 |
User | Count |
---|---|
141 | |
42 | |
42 | |
34 | |
30 |