cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fortuit
Level: Powered On

Flow and PowerApps : pass parameter

Hello,

 

I have the following issue.

I created an app which aims to enable a user to stamp a report (OK or NOT).

Hence I have tow buttons for this purpose.

In addition to this, the user must specifiy to which date the report is referring. Therefore, I added a dropdown list with the calendar days.

 

The idea is to go through Flow and create an action SendEmail that will be called in PowerApps (through eacg butoon OK or NOT)

In Flow, I used the command "Ask in PowerApps" and create "SenEmail_Subject" that I added in the title of the mail.

Aftewards, I linked this Flow to my button in PowerApps and use the command Oneselect = OKreport.run(Dropdownlist.selected.value) because I would like that the subject of the title received by the recipient list is "Report @ reference date", where reference date = date chosen in dropdown list by the user.

Doing so, I get an error message "invalid number of arguments" and when clicking on the button none action is performed.

 

Could someone help me to debug this situation ?

 

Thanks a lot.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Flow and PowerApps : pass parameter

Hi @fortuit,

 

Could you please share a screenshot of your flow's configuration and PowerApps app's configurtation?

 

The error message told that there is something wrong with the number of arguments within the OnSelect property of the Submit button (OK or NOT button). Please check if you have provided corresponding values for these required arguments within the Run() function. 

 

More details about passing a parameter from PowerApps to Microsoft Flow, please check the following article:

Start a flow in app

 

Please check and see if the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/Building-Flows/Pass-variable-from-powerapps-to-flow/td-p/66534'

 

In addition, please take a try to re-create your PowerApps app to re-bind it to your flow, then check if the issue is solved on your side.

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: Flow and PowerApps : pass parameter

Hi @fortuit,

 

Could you please share a screenshot of your flow's configuration and PowerApps app's configurtation?

 

The error message told that there is something wrong with the number of arguments within the OnSelect property of the Submit button (OK or NOT button). Please check if you have provided corresponding values for these required arguments within the Run() function. 

 

More details about passing a parameter from PowerApps to Microsoft Flow, please check the following article:

Start a flow in app

 

Please check and see if the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/Building-Flows/Pass-variable-from-powerapps-to-flow/td-p/66534'

 

In addition, please take a try to re-create your PowerApps app to re-bind it to your flow, then check if the issue is solved on your side.

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Kudoed Authors
Users online (4,817)