cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dcullen
Helper I
Helper I

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
Memorable Member
Memorable Member


@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
Memorable Member
Memorable Member


@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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (65,008)