cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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 Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (6,366)