How do I change the approval status in SharePoint using power automate?

How do I change the approval status in SharePoint using power automate?

Content approval flow in Power Automate To set the content approval status of the document, with the SharePoint connector, use the Set content approval status action in the flow. The following actions occur: Power Automate uses a SharePoint trigger when a new file is added to the library.

What is Moderation Status?

Moderation Status is a 4-byte integer indicating the moderation approval status of a list item. Configurations can require moderation approval to publish a list item or allow automatic approval. A published list item MUST have a Moderation Status of 0.

How do I turn on content approval in SharePoint?

How to Turn on Content Approval in SharePoint

  1. Navigate to your app’s Settings Page (Library Settings or List Settings) and click the Versioning Settings link.
  2. Select the Yes radio button below Require Content Approval for Submitted Items.

How to set content approval status in SharePoint?

When approved, the content approval status of the document is automatically set to Approved; if rejected, the flow sets the content approval status of the document to Rejected. To set the content approval status of the document, with the SharePoint connector, use the Set content approval status action in the flow. The following actions occur:

How to update SharePoint list field update status?

Within “If/yes” branch of Condition, add a “Start an approval” action. Then add a Condition 2 action, left input box set to Response dynamic content of “Start an approval” action, right input box set to Approve, within middle drop down, choose is equal to.

How to require approval of documents in SharePoint using power?

The following actions occur: 1 Power Automate uses a SharePoint trigger when a new file is added to the library. 2 Get file metadata provides the ETag property (along with many others) required when dealing with content approvals. 3 Start an approval action: Include people for approving the documents.

Is there a way to set approval status?

Really helpful since microsoft has not implemented list items in “set content approval status”. Note: this solution is for Lists where Approval is enabled and the field is not a manually created field but maintained by the system so you can not use it in the Flow.