cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dcullen
Level: Powered On

Two arguments in the form OnSuccess() event

I have a form and when I submit it and it is good the OnSuccess() event is triggered.

 

I then want it to firstly execute a flow, and then Navigate to a success screen. This is my attempt.

 

 

PowerAppsbutton.Run(EmailBodyHtml.HtmlText, User().Email); Navigate(Screen_Success)

 This appears to be the incorrect format as I am getting warning symbols saying Invalid number of arguments.

 

What is the correct way to do this?

1 ACCEPTED SOLUTION

Accepted Solutions
JRaasumaa
Level 10

Re: Two arguments in the form OnSuccess() event


@dcullen wrote:

I have a form and when I submit it and it is good the OnSuccess() event is triggered.

 

I then want it to firstly execute a flow, and then Navigate to a success screen. This is my attempt.

 

 

PowerAppsbutton.Run(EmailBodyHtml.HtmlText, User().Email); Navigate(Screen_Success)

 This appears to be the incorrect format as I am getting warning symbols saying Invalid number of arguments.

 

What is the correct way to do this?


 

Try adding a ScreenTransition.None to your Navigate.

 

Navigate(Screen_Success, ScreenTransition.None)

View solution in original post

1 REPLY 1
JRaasumaa
Level 10

Re: Two arguments in the form OnSuccess() event


@dcullen wrote:

I have a form and when I submit it and it is good the OnSuccess() event is triggered.

 

I then want it to firstly execute a flow, and then Navigate to a success screen. This is my attempt.

 

 

PowerAppsbutton.Run(EmailBodyHtml.HtmlText, User().Email); Navigate(Screen_Success)

 This appears to be the incorrect format as I am getting warning symbols saying Invalid number of arguments.

 

What is the correct way to do this?


 

Try adding a ScreenTransition.None to your Navigate.

 

Navigate(Screen_Success, ScreenTransition.None)

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (3,988)