cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nitishbijalwan
Frequent Visitor

Flow content approval issue

Hi All,

 

This post is regarding the issues that I have been facing when using "Content Approval" operation.

Below are the details:

 

  1.  When content approval is applied with default settings, it keeps on retrying the approval operation and ultimately fails with error message "BadGateway.(502)" (flow), even though it has approved the item in the list.
  2. When setting of this operation is changed to no retry, it starts throwing "Object reference not set to an instance of an object" error and causes flow to fail. Also in backend it has approved the item, but flow fails.

 

Anyone that has faced similar issue?

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @nitishbijalwan,

 

Could you please share a screenshot of your flow's configuration?

Do you enable Content Approval option within versioning settings of your SharePoint list and add the "Set content approval status" action within your flow?

 

The issue is confirmed on my side, my flow's configuration as below:2.JPGNote: Enable the Content Approval option within my SharePoint list.

 

The flow fails as below:3.JPG

 

But when I enable the Content Approval option within my SharePoint library, the flow works successfully. I have made a test on my side and please take a try with the following workaround:4.JPG

The flow works successfully as below:5.JPG

 

 

I afraid that the "Sent content approval status" action is not supported for SharePoint list, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Kris

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.

View solution in original post

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @nitishbijalwan,

 

Could you please share a screenshot of your flow's configuration?

Do you enable Content Approval option within versioning settings of your SharePoint list and add the "Set content approval status" action within your flow?

 

The issue is confirmed on my side, my flow's configuration as below:2.JPGNote: Enable the Content Approval option within my SharePoint list.

 

The flow fails as below:3.JPG

 

But when I enable the Content Approval option within my SharePoint library, the flow works successfully. I have made a test on my side and please take a try with the following workaround:4.JPG

The flow works successfully as below:5.JPG

 

 

I afraid that the "Sent content approval status" action is not supported for SharePoint list, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Kris

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.

View solution in original post

Dennis-GER
New Member

I have a similar issue: Content Approval on a list gives me a error (in German):

 

BadGateway.

"status:", 502

"message:", "Der aktuelle Zustand des Elements ist "Approved", und die folgenden Aktion "Approve" kann nicht implementiert werden." clientRequestId: 9cd5b7a6-e19e-4d99-b379-fcf6ff6c8dc1 serviceRequestId: 84864a9e-50b4-5000-4fac-20bd56ea821c"

 

It seams to me that the action calls Approved many times for whatever - the list-item is updated with Approved. But the Flow shows an error. I think this action is not build to work on SharePoint lists.

 

PS: added a commend on Allow MS Flow to update the SharePoint list Content Approval "Approval Status" field. - please vote the the Idea there

"I afraid that the "Sent content approval status" action is not supported for SharePoint list, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum"

 

Is this still true? If the SharePoint action titled "Set Content Approval Status" is not meant for *SharePoint content approval*, then what is it for? 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,593)