web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Help with substring

(0) ShareShare
ReportReport
Posted on by 1,934 Moderator

When the Update properties connector encounters a locked file, it gives an error like this:

The file "https://xxx.sharepoint.com/sites/yyy/zz/site/Test/Book.xlsx" is locked for shared use by user@domain.edu.
clientRequestId: nnnnnnnnnn
serviceRequestId: nnnnnnnnnn

I need help writing a substring that will extract the name of the file, in the case of the example, Book.xslx. Please help!

 

Ahank you,

Anne

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @annetoal 

     

    Use the split() and last() expression

     

    last(split('https://xxx.sharepoint.com/sites/yyy/zz/site/Test/Book.xlsx', '/'))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 505

#2
Haque Profile Picture

Haque 446

#3
Valantis Profile Picture

Valantis 395

Last 30 days Overall leaderboard