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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 38 members 4,087 guests
Please welcome our newest community members: