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
Community Support
Community Support

Re: Flow content approval issue

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
Community Support
Community Support

Re: Flow content approval issue

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

Re: Flow content approval issue

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

RachelRig Helper III
Helper III

Re: Flow content approval issue

"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
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,272)