web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Go to bypass Success p...
Power Apps
Answered

Go to bypass Success page of Canvas App

(0) ShareShare
ReportReport
Posted on by 158

Hi Team - I have a very simple Canvas App where users can log a query. When a user logs a new query onto the form  the app navigates  them to the "Success Page". (using the form OnSuccess function).

 

Now admin team have an additional field in the form which they can change the status of the query to "complete".

But each time they change the status and click on the submit button it ALSO takes them to the "Success Page". I was wondering if there is a way so the app will ONLY navigate to the "Success page" IF it is a new form only?  I have used the formula below but it doesn't work. Any help would be much appreciated.

 

If(EditForm1.Mode.New,Navigate(SuccessPage),Navigate(EditScreen1))

Categories:
I have the same question (0)
  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @Manny123 

     

    Try the following:

     

    If(EditForm1.Mode = FormMode.New, Navigate(SuccessPage), Navigate(EditScreen1))

     

    Hope this helps,

    Gerard

  • Manny123 Profile Picture
    158 on at

    Hi AmDev, thanks for the response.  I have just tried using the formula you have provided. When I click on new query and submit the form - the navigation doesn't.......it should be navigating user to successpage(as new query has been logged). 

    if the form is not then I also need admin to provide status update but need them to bypass the "SuccessPage" and go to editScreen1.

     

  • Verified answer
    Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @Manny123 

     

    I tried that on my side and see that the form mode flicks from New to Edit mode between the form submission and the Onsuccess, before your onsuccess logic executes.

     

    I have tried the following on my side which gets around this. Firstly, I am assuming your form is set to New mode for any new entries and is in Edit Mode for updates to existing records. In the form Submit button, add the following:

     

    Set(varFormMode,Value(EditForm1.Mode));
    SubmitForm(Form1);

     

    Then in the OnSuccess property add this:

     

    If(varFormMode = 1, Navigate(SuccessPage), Navigate(EditScreen1))

     

    Hope this helps

    Gerard

  • Manny123 Profile Picture
    158 on at

    Brilliant. Thanks that works.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard