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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Flow Run function at p...
Power Apps
Unanswered

Flow Run function at power apps submit different information

(0) ShareShare
ReportReport
Posted on by 66

Hello everyone!

 

I am trying to use the run function to send information to flow.

 

My question and problem is that i want the user to select if they want to sent 2 or 3 emails.

 

But the Run command is expecting 7 values not 6 how i can bypass this issue?

 

SubmitForm(Form1);EquipmentRequester.Run(Form1.LastSubmit.ID,User().Email,Form1.LastSubmit.Supervisor.Email,Form1.LastSubmit.Reviewing_Officer.Email,Form1.LastSubmit.Budget_Approver.Email,Form1.LastSubmit.Equipment.Value,Form1.LastSubmit.Title)

 

Red value should be optional

 

Thank you all.

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @DarkLord22 ,

    Could you please share a bit more about your scenario?

    Do you want the user to select if send 2 or 3 emails when execute the FlowName.Run() function within your app?

     

    Actually, the arguments within the FlowName.Run() function is based on the parameters you specified within your flow using "Ask in PowerApps" dynamic content of PowerApps trigger button.

    In other words, if you specify 7 parameters (you want to pass from your app) within your flow using "Ask in PowerApps" dynamic content, it would have 7 arguments within .Run() function. If you specify 6 parameters in your flow, it would have 6 arguments within .Run() function.

     

    If you want the user to select if send 2 or 3 emails when execute the FlowName.Run() function within your app, I afraid that there is no way to achieve your needs in PowerApps currently.

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Fourm:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    Best regards,

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard