cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jerry5209
Regular Visitor

How to get a files List Name from sharepoint

I'm creating a flow when an existing excel file was modified, the file was located in sharepoint.

Could someone tell me how to get the list name of the file (I made a simlier flow and success but I forgot how to do)?

Or is there another method to process flow when a  specific file modified in sharepoint?

 

Image 2.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Jerry5209,

 

What you mean is monitoring whether a specified file has been changed?

You could use the Condition to determine if it is the specified file before executing the following action.

The folder where the selected file is located.

Determines whether "File name with extension" is equal to the file name of the specified file.

Like:

11.PNG

Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-bacao-msft
Community Support
Community Support

Hi @Jerry5209,

 

You could configure the trigger in the following two ways.

The first is to use When a file is created or modified as a trigger. This allows you to select the corresponding library directly from the drop-down list.

1.PNG

The second is to use When an item is created or modified as the trigger. When configuring the List Name, you need to select "Enter custom value" and then manually type the Library Name.

2.PNG

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-bacao-msft Barry:

 

Thanks for reply.

This Sharepoint (Library) was used for department and with a lot of layers folder and files inside.

For 1st way, it works but the mail receiver will get a lot of mails when folders or files were modified under the folder what I set in the triger.

Image 1.jpg

 

Image 2.jpg

 

For 2nd way, I have no idea how to  type the Library Name which will make it happen (send an mail when  a  specific file was modified), and the file might be lokcate at 2nd/3rd or deeper layer folder of the library.

 

BR Jerry

Hi @Jerry5209,

 

What you mean is monitoring whether a specified file has been changed?

You could use the Condition to determine if it is the specified file before executing the following action.

The folder where the selected file is located.

Determines whether "File name with extension" is equal to the file name of the specified file.

Like:

11.PNG

Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi @v-bacao-msft Barry:

 

It works well now, thank you for suggestion.

 

BR

Jerry

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (25,804)