cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Power_Automater
Helper IV
Helper IV

Button Trigger Automate & Navigate

I have a button in my power app which when clicked (OnSelect) I would simply like to do two actions instead of one. In this I would like it to SubmitForm and also trigger an automate flow. How can I do both of these, and in a more general sense how can I do more than one action or chain them together?

1 ACCEPTED SOLUTION

Accepted Solutions
MathewM
Helper I
Helper I

Separate each action by adding a semicolon ";" to the end.

Example: 

SubmitForm(Form1);
YourFlow.Run();
Navigate(Screen2);

 

View solution in original post

3 REPLIES 3
MathewM
Helper I
Helper I

Separate each action by adding a semicolon ";" to the end.

Example: 

SubmitForm(Form1);
YourFlow.Run();
Navigate(Screen2);

 

Power_Automater
Helper IV
Helper IV

Thank you that helps! Quick question though, for the "YourFlow", if the flow name has spaces do these need to be removed or changed to hyphens/underscores?

Happy to help 🙂. If your flow has spaces in my experience you would use the name without the spaces. For example if your flow was named "Your Flow" in PowerApps you would just use "YourFlow". However, once you start typing the name of a flow in the Power Apps formula bar it should prompt you with what it thinks is correct syntax.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,431)