Forum Discussion
Microsoft Flow and document lifecycle for approving major versions
- Mark StokesJan 12, 2018Copper Contributor
Hi Cathy Dew.
Are there any updates to this? I am creating a Logic App at the moment where I need to publish documents.
At the moment, they get uploaded as 0.1, my logic app updates their properties to 0.2 but I need them to be at 1.0 for users to actually see them.
At the moment it looks like I need to call an Azure Function to perform this step, but I REALLY want to avoid that.
Thanks
Mark
cc/ Jeremy Thake - Did you find another way to perform this action?
- roykimJan 12, 2018MVP
I am also trying to publish a document by using a flow action "Set content approval status".
The document is in draft state.
I get an error the flow debugger
{
"message": "The current state of the item is Draft and the following action Approve cannot be implemented\"\r\nclientRequestId: fdb16f40-8072-400b-xxxxxxx",
"status": 502,Appreciate any guidance.
- Jan 15, 2018
You first have to "submit/publish" it from draft to pending for approval afterwards you can approve or reject. Unfortunately approve or reject has no impact #Bug I raised a support ticket last week. Feel free to reference it.
Regards Christian
- Jeremy ThakeMar 01, 2017Iron Contributor
any update here Cathy Dew?
- Eric_HOct 03, 2017Iron Contributor
I believe an announcement at Ignite 2017 covers this. I too have been looking for a way to use Flow to approve and publish documents in a library, similar to the old 2010 build in publishing features where it could take a minor version, get approved, and publish it as a major version.
See "custom approval action" listed here and on other ignite summary announcements:
Chris McNulty, do you have any articles detailing this feature, or maybe an ignite session that demo'd it? Also, can you say if it will support tracking the approver? One thing that the old "publish" feature couldn't do was track who and when a particular document was approved (for auditing purposes). This is even a bit of a challenge in 3rd party workflow tools. This is a critical piece I'm hoping we'll be able to tap into when "custom approval actions" comes out.
- Yulia KornienkoOct 25, 2017Copper Contributor
Are there any updates on this? A very wanted feature.
Eric_Hthe link is invalid, it says "An invalid set of parameters has been specified in the url."