I have built an approval flow to manage approvals of files in a document library on a workspace. The approval flow itself works, but I have two problems, that I simply can not figure out. I am hoping, that someone here might be able to see what I am doing wrong.
Thank you in advance for your comments.
Adding comments to a version history only happens when you check in a document and Flow does not (yet) support checking documents out/in. To achieve your goal you'll want to call the SharePoint API from within your Flow.
If this answers your question, please mark your post as Solved.
Hi @DanHansen ,
For your first question, could you share all the screenshots of your Flow configuration?
I did a test on my side, configure Link to item in the Item link, the link can be displayed normally, and has nothing to do with the configuration of other actions.
For the second question, as Scott described, comments can only be added to Version history when the file is checked in, so if there is no similar check-out, it is impossible to add comments.
For the operation of using Rest API to implement file check-in, please refer to the link below:
Hello Barry and Scott,
Thank you for your responses. I will dig into the API, and see if I can figure out the API calls for check-in/check-out.
As for documenting the remainder of me workflow, as you requested Barry:
I just wanted to share an update on my problem with the email notification, not sending a link to the item that was sent for approval.
I managed to resolve this, by changing the ID pointer in the set approval content. Using the ID pointer from "Get file metadata" does not work with this type of flow, probably because I am working on files in document libraries, and not in a list. By changing this to the ItemId pointer, it started sending the item links again.
Reading the small text does help.
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
Many congratulations to the Season 1 2021 Flownaut Crew!
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.