cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nitishbijalwan
Level: Powered On

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

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

2 REPLIES 2
Community Support Team
Community Support Team

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
Level: Power Up

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

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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

Power Platform World Tour

Find out where you can attend!

Users online (6,115)