Invoking power automate from powerapps. Getting error message as Respond to PowerApps failed due to flow is taking more than 2 mins to complete
Error message
"The execution of template action 'Respond_to_a_PowerApp_or_flow_4' 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."
Any solutions for this?
Thanks In Advance,
Padmini.
Solved! Go to Solution.
You must make sure it is less than 180 seconds (three minutes). In case of error handling, you can return an error. You can try split it up into smaller steps, return from one, pass it into the other from the Canvas App, etc. We believe this is only way we are aware of for now.
In the case that someone else on this forum knows other way, please feel free to correct us if we are wrong and/or chime in.
You must make sure it is less than 180 seconds (three minutes). In case of error handling, you can return an error. You can try split it up into smaller steps, return from one, pass it into the other from the Canvas App, etc. We believe this is only way we are aware of for now.
In the case that someone else on this forum knows other way, please feel free to correct us if we are wrong and/or chime in.
That is the limitation of Power Apps.
you can find it here: System requirements, limits, and configuration values for canvas apps - Power Apps | Microsoft Docs
You need to split the flow into multiple flows which have smaller steps.
Please be aware that you can execute many actions in PowreApps instead of flow.
The total duration for a failed flow in my case was 4s. I get that message from time to time on a particular flow but don't know why.
I also got this error message for a flow with total duration of 27 seconds. So this can't be the solution to this error.
My flow ran in 2s and I got this error!
User | Count |
---|---|
252 | |
104 | |
94 | |
50 | |
39 |