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

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 III
Helper III

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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,791)