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

Get result of patch update after successful

I have a button to trigger a patch update of collection data back to SP list.

 

All the collection data update existing items instead of creating new item, is there any way to get the success result after the update is complete?

 

I searched for past posts, only found the way to get the latest created item to make sure the patch is successful.

 

Thanks for help.

1 ACCEPTED SOLUTION

Accepted Solutions
indhaa
Impactful Individual
Impactful Individual

Hi,

 

What I did is to check if error is there after a Patch command and if so prompt a message.

 

If(IsEmpty(Errors(DATASOURCE)),

   Notify("Record Has Been Updated Successfully");

   Navigate(HomeScreen,ScreenTransition.Cover),
              Notify("The Process Could Not Be Completed, Record not Added")) 

 

 

View solution in original post

5 REPLIES 5
indhaa
Impactful Individual
Impactful Individual

Hi,

 

What I did is to check if error is there after a Patch command and if so prompt a message.

 

If(IsEmpty(Errors(DATASOURCE)),

   Notify("Record Has Been Updated Successfully");

   Navigate(HomeScreen,ScreenTransition.Cover),
              Notify("The Process Could Not Be Completed, Record not Added")) 

 

 

View solution in original post

I wonder, this way only notify successful when there is no error, but not the patch is all complete?

indhaa
Impactful Individual
Impactful Individual

Hi,

 

You can add it after the Patch command so that it will only check after it.

For me it works and I got the error msg when the data was not updated on my SP list. 

Test using a Mandatory SP column or some other way

 

indhaa
Impactful Individual
Impactful Individual

Also if the Patch is not completed means error

indhaa
Impactful Individual
Impactful Individual

Hi,

 

Just checking if you got the result you were looking for on this thread. 

Please click Accept as solution 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 Thumbs Up.

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,471)