Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

How to ingest Navigate function to Patch onSuccess

(1) ShareShare
ReportReport
Posted on by 100
Hi Everyone,
 
Its been a while I posted here. I'm a bit stucked from below button onSelect code.
 
I have 2 logics in my button.  I couldn't figure out the correct syntax how to ingest Navigate function if the status  have updated to 'Completed' (2 Logic). I wanted the screen to navigate to another screen
 
1 Logic
--updates the application status in sharepoint i.e outlook based on selected value in the drop down.
Set(varSubmitSucess,
Patch('FFMC-Off Boarding Users',
LookUp('FFMC-Off Boarding Users', ID = lblID.Text),
{Outlook:ddOutlook.SelectedText,Outlook_Remarks:txtRmOutlook.Text});
 
2 Logic
--updates the status if status is selected status in the application is  "Completed"
If(ddOutlook.Selected.Value = "Completed", Patch('SharePointTable',LookUp('SharePointTable', ID = lblID.Text),{Status_:"Completed"}));
 
 
  • WarrenBelz Profile Picture
    148,638 Most Valuable Professional on at
    How to ingest Navigate function to Patch onSuccess
    Assuming you always have the current (or changed) status in the drop-down
    With(
      {_Status: ddOutlook.Selected.Value},
    Set( varSubmitSucess, Patch( 'FFMC-Off Boarding Users', { ID: Value(lblID.Text), Outlook: ddOutlook.SelectedText, Outlook_Remarks: txtRmOutlook.Text, Status_: _Status } ) ); If( _Status = "Completed", Navigate(YourNextScreen) )
    )
    ​​​​​​​
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1