cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MiteshSudan
Level: Power Up

Reference Checked Out To Flow SharePoint Document Library

Hi,

I am new to Flow and would like to reference the 'Checked Out To' column of the SharePoint document library. No problem with all other columns but just not able to reference checked out to column. I have tried multiple options:

 

items('Apply_to_each')?['CheckoutUser']?['DisplayName']

items('Apply_to_each')?['CheckoutUser']?['User.Name']

items('Apply_to_each')?['CheckoutUser']?['OWSUSER']

items('Apply_to_each')?['CheckoutUser']?['USER']

items('Apply_to_each')?['CheckedOutTo']?['DisplayName']

items('Apply_to_each')?['CheckedOutTo']?['User.Name']

items('Apply_to_each')?['Checked_x0020_Out_x0020_To']?['User.Name']

items('Apply_to_each')?['Checked_x0020_Out_x0020_To']?['DisplayName']

 

Any help would be appreciated. 

2 REPLIES 2
Dual Super User
Dual Super User

Re: Reference Checked Out To Flow SharePoint Document Library

Hi @MiteshSudan 

 

I believe that the checked out to as an attribute is not returned on the Get files (Properties) or get file properties actions. When you run the flow with these actions, ou can check the run history and expand these actions to see what all attributes have been returned and you can in turn only use those attributes. (Makes sense?)

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Dual Super User
Dual Super User

Re: Reference Checked Out To Flow SharePoint Document Library

Hi @MiteshSudan 

 

This is not returned as part of the response object

might be a good item to add to user voice

 

You would have to fire an extra rest api call using http request to SharePoint action to get it

/_api/Web/GetFileByServerRelativeUrl('fileURL')/CheckedOutByUser/LoginName

 

There is a IsCheckedOut property which you check first to see if file is checked out, if Yes then call rest api

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,964)