Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

extract file name from filter array

(0) ShareShare
ReportReport
Posted on by 364

Hi All,

 

I am trying to extract file name from filter array then split the URL.

I have used the below but the output is blank. Any other method of achieving this

Thank you.

PackList.JPG

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at
    Re: extract file name from filter array

    Hi @egornua1 ,

     

    Glad to see you solved the problem. You could mark your answer/solution as a 'Solution' to allow more people with the same problem to solve their own problem as quickly as possible. Thank you so much! 

     

    Best Regards,

    Dezhi

  • egornua1 Profile Picture
    364 on at
    Re: extract file name from filter array

    Managed to fix - apply to each body was wrong reference 🙄

    Split syntax incorrect, used split(outputs('PackListName'), ' ')[8] 

    Working fine now 👍

     

  • Verified answer
    egornua1 Profile Picture
    364 on at
    Re: extract file name from filter array

    Added parse json step to get the file name object but it adds an additional apply to each when using the compose to capture the specific file - see below - Anyone know why?

    Also trying to split the file name but it isn't accepting the expression below

    split(outputs('Name'),' ',[9])PacklistApply.JPG

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492