Exchange Rate Loader PowerApp for D365 F&O - Part 4
In this final part I am going to go through one of the tweaks I made to the error messaging, what I experienced on running loads was the follow error due to timeouts on the Respond to PowerApps step in my flow:
ActionResponseTimedOut. 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.
This meant that basically on long running flows the flow succeeded but the messaging back timed out and the user was unaware if it succeeded or not (limit I believe is 2 minutes).
The way I resolved to fix this was rather than rely on the Respond to PowerApps step to provide my status, every time I got a response back on the do-until I would write to a Dataverse table and display that instead on the form. This is how I achieved this:
I created a new DataVerse table with the following fields, Status and Error:
This I made a data source under my PowerApp and added it to the form:
Comments
Post a Comment