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??Note only 7 parameters were recieved. 14 are required.
Flow fails due to missing parameter.
Run expression is correct, with 14 parameters. Powerapps does not register any error with this expression, and does not throw an error at runtime when triggering the Flow.
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.
-Jamie
User | Count |
---|---|
194 | |
126 | |
90 | |
48 | |
44 |
User | Count |
---|---|
280 | |
160 | |
138 | |
81 | |
76 |