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 Platform Community / Forums / Power Automate / Split the folder path ...
Power Automate
Unanswered

Split the folder path from subfolder

(2) ShareShare
ReportReport
Posted on by 522
I have flow which is running work till 3rd level of subfolder and when i create the another subfolder/document set the expression is not passing to the folder which newly created.
 
Folder structure:
 
Abc/xyz/test/jumps this folder(dynamically created)/hardcoded folder name
 
expression:  
join(skip(split(trim(triggerOutputs()?['body/{Path}']),'/'),0),'/') somehow this expression jumps the dynamically created folder and displays like this.
 
 
Abc/xyz/test/hardcoded folder name instead in need the path to be like this Abc/xyz/test/jumps this folder(dynamically created)/hardcoded folder name
 
Categories:
I have the same question (0)
  • AnthonyAmador Profile Picture
    2,553 Moderator on at
    Hi, 
     
    Could you share more details about your flow? Which trigger are you using? What does the output from the trigger look like? What is the structure?
     
    Best. 
    Anthony. 
  • Nikhil2 Profile Picture
    522 on at
     
    In Compose i have content type id value and in Folder path i have this expression join(skip(split(trim(triggerOutputs()?['body/{Path}']),'/'),1),'/')
     
    where it returns the folder path of Abc/xyz/test/hardcoded folder name but missing the dynamic folder before hardcoded folder name.
  • AnthonyAmador Profile Picture
    2,553 Moderator on at
    I think the problem is your expression, you need to use FullPath instead of Path, you can also check the trigger output to confirm it includes all the folders.

    Hope this helps. 
    Anthony.

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard