
Announcements
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.
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,