web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / flow.run with more tha...
Power Apps
Answered

flow.run with more than one parameters

(0) ShareShare
ReportReport
Posted on by 413

Hi there, 

 

I build a flow called "Sollecito" in order to send an email when a Button is selected on my Powerapp. Actually, I'm just testing the inputs transmittion from the app to the flow.

Here's the flow, all the variables are setted in the same way:

 

Calcioscacchi_0-1677694600683.png

 

So now I put in the OnSelect property button this code:

 

 

Set(varPetitionermail;Gallery1_4.Selected.'Petitioner mail');;
Set(varPerformermail;Gallery1_4.Selected.'Performer mail');;
Set(varSamplecode;Gallery1_4.Selected.'Sample code');;
Set(varSamplelink;Gallery1_4.Selected.'Collegamento a elemento');;
Sollecito.Run(varPetitionermail;varPerformermail;varSamplecode;varSamplelink)

 

 

 

But it gives me an error: It aspects 1 only input in flow.Run() function.

 

I know that I could use a collection, but I want to learn this method too. 

Some hints?

Thanks.

Categories:
  • TheRobRush Profile Picture
    11,128 Moderator on at

    delete top part of flow, PowerApp, then add PowerApp V2, the new version lets you set all the variables you want to pass over. then go back to your powerapps, refresh the flow, and check your flowrun again

  • Verified answer
    Calcioscacchi Profile Picture
    413 on at

    Actually it doesn't allow me to delete the first block... but I found the trick:

    I was selecting everytime the "Inizialize variable" option instead of choose "ask to powerapp" in each "Initialize variable" step, so I setted all my variables with the same (and unique) input.

    I just select "others" from the dynamic elements box and then choosing "ask to powerapp" it works fine 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard