Hi there
Firstly I have a button flow that creates a folder and names it by 'yy/MM Surname' in a SharePoint library. It creates that folder and a few subfolders. One folder created is called 'Internal Consultation'.
Later, I have a flow that needs to create a subfolder in the 'Internal Consultation' folder. This is the one I'm having trouble with.
The flow is triggered 'for a selected file' on the (Internal Consultation) folder (to create a sub folder and send an email to someone that they need to drop docs in that folder.
I have tried 'Create new folder' action but it doesn't work, it says 'List not found', which is strange because when I look at the path it looks to me like it should work.
Pics are flow and end result.
Hoping someone can help me 🙂
Solved! Go to Solution.
Hi @xxxxmints,
The full path also contains the library name. So, I would use an expression to remove that part of the Full Path value. And I would also move the outputs to the folder path field.
Below is an example of that approach.
1. Change the Path of folders input the expression below:
replace(outputs('Get_file_properties')?['body/{FullPath}'], 'TestLibrary/', '')
2. Select the TestLibrary in the dropdown. And use the Outputs/DisplayName.
@{outputs('Path_of_folders')}/@{outputs('Get_user_profile_(V2)')?['body/displayName']}
Hi @xxxxmints,
The full path also contains the library name. So, I would use an expression to remove that part of the Full Path value. And I would also move the outputs to the folder path field.
Below is an example of that approach.
1. Change the Path of folders input the expression below:
replace(outputs('Get_file_properties')?['body/{FullPath}'], 'TestLibrary/', '')
2. Select the TestLibrary in the dropdown. And use the Outputs/DisplayName.
@{outputs('Path_of_folders')}/@{outputs('Get_user_profile_(V2)')?['body/displayName']}
Thank you, you're a star!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.