I am having a BIZARRE issue with Powerapps/Powerautomate.
My Powerapp is only returning half of the required parameters to my Flow. I have deleted the connection and re-created it many times, made a copy of the Flow and added to to Powerapps instead of the original, deleted and re-added that one a few times, started over from scratch and reduced the number of parameters (was originally 18 and only returning 9) to 14 - only 7 are being received by my Flow, which is causing it to fail. I deleted, saved and re-added the new Flow a few times as well, and it does not resolve the issue!
I don't see anyone else on here with a similar issue, and I'm at a totally loss. Clearly this is a bug. Can someone please help??
Solved! Go to Solution.
Based on your Submit button's OnSelect code, it looks like you are passing an empty string to flow whenever the conditions aren't met. If any of those parameters are required by Flow to run, that's probably your "bug".
Just a tip: If you want to prevent data from being submitted, use the Display Mode property to disable the Submit button until all the required fields are NOT blank. (e.g. If(IsBlank(field.txt),DisplayMode.Disabled, DisplayMode.Edit)
Tip 2: After you validate the form is filled out, pass everything to Power Automate and let the flow do the heavy lifting. You can use JSON function to build a JSON string and then use Parse JSON in Power Automate to decode it and then do all your if/thens in there. It'll be easier to debug because you'll only have one parameter to pass.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.