cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
maruthi216
Helper III
Helper III

MS flow failing from powerapps

My Flow intention is to update the "Status" and Date when button is clicked, but its failing, not sure why...

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @maruthi216 ,

Do you want to fire a flow to update the submitted new form data in your app?

 

Based on screenshot that you mentioned, I think there is something wrong with the place your FLOW224.Run(...) formula put within your app. If you put your FLOW224.Run(...) formula before the SubmitForm(SharePointForm1) formula, when the FLOW224.Run(...) formula executes, your flow would be fired, but your new form data has not be submitted successfully, so the error would show up within your flow as you mentioned.

 

As an alternative solution, please consider put your FLOW224.Run(...) formula within the OnSuccess property of the SharePointForm1. Set the OnSuccess property of the SharePointForm1 to following:

FLOW224.Run(SharePointIntegration.SelectedListItemID);    /* <-- Add formula here */
ResetForm(SharePointForm1);
RequestHide()

set the OnSelect property of the Button to following:

SubmitForm(SharePointForm1)

 

Please take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

tried that, still having issue.

 

some reason my first row is only getting updated, but when i add new item the "status" in SP is not getting updated.

 

SUBMIT BUTTON(ON SELECT): FLOW700.RUN(sharepointintegration.selectedlistitemID);Submitform(sharpointform1)

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,004)