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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Full Path Incorrect

(0) ShareShare
ReportReport
Posted on by 5

I am trying to get the full path of the SharePoint trigger 'When a item or a file is modified'  but the full path that SharePoint pulls ends with '5_.000' instead of the actual item path. I need it for when I call an HTTP request that moves that item into a folder within the list, so every time it runs I get the error:

 

"The expression "Web/getFileByServerRelativeURL('/sites/ITMIS/Lists/IT Ticket Tracker/5_.000')/moveTo(newurl='/sites/ITMIS/Lists/IT Ticket Tracker/Completed Tickets/5_.000'flags=1)" is not valid."

 

Is there a reason why the full path is coming up like that? Below is my flow and the full path I am getting

 

Power Automate FlowPower Automate FlowFull Path ComposeFull Path Compose

 

 

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hi @brycen 

    Could you try to encode the Full path value using encodeURIComponent function?

    Apart from that, you need a colon between URL and flags value in moveTo function (I also replace blank spaces by %20):

    Web/getFileByServerRelativeURL('/sites/ITMIS/Lists/IT%20Ticket Tracker/5_.000')/moveTo(newurl='/sites/ITMIS/Lists/IT%20Ticket Tracker/Completed Tickets/5_.000',flags=1)

    Hope it helps!

    Ferran

  • brycen Profile Picture
    5 on at

    That worked! Thank you @fchopo 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard