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!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
25 | |
25 | |
25 | |
22 | |
15 |
User | Count |
---|---|
50 | |
38 | |
36 | |
31 | |
30 |