cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

How can I make doc library version history reflect who made a change?

I am working on an approval workflow for my company as it transitions into ISO 27001 compliance, and we need an approval workflow for our Sharepoint Online service. I am having issues with getting approvals and rejections to reflect in the version history.

 

Example scenario:

 

-> User starts flow on a specific file in a doc library

-> Approval e-mail goes out to user "Joe"

-> Joe approves the document and a custom column is updated to show "Approved by Joe- Pending Approval from Mary" or something of the likes.

 

That is well and good for the most part- the flow works as intended, Joe gets messaged followed by Mary (these are generic names btw) about an approval request, and the custom column gets updated. The problem is that in the version history, it says that the column was updated by Tyler (that's me.) no matter who submits the flow.

 

I have found a section that shows connectors for the flow, and it seems that Sharepoint Creds, Email creds and Approval creds are all tied to my account info- is this why version history always reflects me? Does anybody know how to add a new connector? I can delete them, but I can't find a place to add replacements. Moreover, is there a way to make the version history reflect whichever user chose to approve or reject the document approval?

 

Thanks, and please know that I appreciate any help I can get on this... I'm under a lot of pressure right now and some of these problems would break our compliance and I'm struggling to meet the requirements.

5 REPLIES 5
Advocate V
Advocate V

Create a new column to hold this info 'approved by' and fill it directly from the flow.

Unfortunately, I need it to do this dynamically, because entering it in directly is not secure enough for ISO 27001 according to the project lead. Thank you for the suggestion, though.

Impactful Individual
Impactful Individual

Can you use Office365 get my profile within the flow?

not really.

you retrieve whose o365 connection is used in the flow. (the system organizer's)

but it is a problem to retrieve who actually has clicked the button in sharepoint. (the other employee)

see also

https://powerusers.microsoft.com/t5/Flow-Ideas/Integrate-Flow-buttons-in-SharePoint/idi-p/44281

Advocate V
Advocate V

Convert the result to pdf that is what I plan to do.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (100,572)