Forum Discussion
Approval Flow - Approval Status - why can't this be updated?
Hi there Tanya Denton...can you provide in some detail how you got this to work? I've been pulling my hair out trying to get the Approval Status flag to change depending on the response sent out from the Flow approval e-mail, and I can't seem to get it to work. I am using the 'Set content approval status' that Michal Golan mentioned, but it doesn't seem to work.
What am I doing wrong?!?! :)
- Soraia TaipaDec 27, 2018Copper ContributorHi Tanya Denton,
Thank you for your reply. I've tested and it keeps no updating... I've added a second step to update the properties of the document, only with that step does the status changes... - Soraia TaipaDec 27, 2018Copper Contributor
Hi Tanya Denton,
Thank you for your reply. I've tested and it keeps no updating... I've added a second step to update the properties of the document, only with that step does the status changes...
- David DreverDec 05, 2018MVP
I just thought I would mention it is possible to run this automatically (via item created or modified). The problem getting in people's way is that when they start a flow, there is no OOTB method for determining the state the document is in. You don't want an approval workflow if the document is still in draft right?
I came up with a way to do this using an HTTP call into the SharePoint list\library. This likely isn't anything new, but I wasn't able to find a post that highlighted the steps I came up with. To determine the approval status of a document\list item you simply have to access it using the following REST call: _api/web/lists/GetByTitle(‘<Title>’)/items(<ID>)?$select=OData__ModerationStatus
More information and some step-by-step procedures can be found here: http://prairiedeveloper.com/2018/12/microsoft-flow-determine-the-approval-status-of-a-sharepoint-list-or-library-item/