
Announcements
I have a document library with 'Require content approval for submitted items' set to 'Yes' and 'Create major and minor (draft) versions' selected.
I have a flow that starts when a document is approved. I would like to do a system update in the flow (Without incrementing the document version and without setting the document in draft). I have a step that sent a SharePoint HTTP Post request to update a document property column. I have passed "bNewDocumentUpdate": true" to do a system update but the flow is hanging. When I change the bNewDocumentUpdate to false the flow complete successfully but the document goes into a draft mode and the document increment. Is it possible to do a system update on a document where content approval is enabled on the document library?
Below my HTTP request flow step. This step is hanging and not working
Site Address: <SharePoint site address>
Method: Post
URI:_
api/web/lists/GetByTitle('DocumentA')/items(1)/ValidateUpdateListItem
Body:
{
"formValues": [
{"FieldName":"Title","FieldValue":"Title 1"},
{"FieldName":"BMSVersion","FieldValue":"@{body('Parse_JSON')?['OData__UIVersionString']}"},
{"FieldName":"BMSPublishedDate","FieldValue":"@{formatDateTime(utcNow(),'dd/MM/yyyy')}"}
],
"bNewDocumentUpdate": true
}