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

Navigate to another Screen after a Patch, does not always update the listitem

Hi

 

If I Patch a SharePoint list (Using a form + some additional fields) and right after Navigate to another screen, it does not always update the list item

 

 

Patch(
    DataSource1;
    {Id: 123};
    MyForm.Updates;
    {
        Variable1: "abc";
        Variable2: "def"
    }
);;

If(
   IsEmpty(Errors(DataSource1));
   Navigate( Screen2; ScreenTransition.Fade )
)

If I remove the Navigate command (the last 4 lines), it works fine.

 

PS. I also tried to put the Patch method inside a If statement - Same result

 

 

Best regards

Henrik

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 (5,744)