Hi, I want to create multiple root folders based on an existing List. The folder name should be dynamically taken from one Column in the list.
Solved! Go to Solution.
You should be able to use Get items to retrieve your list items, then in an Apply to each use Create folder using the output from your column. See example below:
Note that the expression I used is below. You would just need to add your actual field name.
items('Apply_to_each')?['Field Name']
You should be able to use Get items to retrieve your list items, then in an Apply to each use Create folder using the output from your column. See example below:
Note that the expression I used is below. You would just need to add your actual field name.
items('Apply_to_each')?['Field Name']
Thanks. It worked. 😀
Do you know what will be the behaviour if a folder already exists. Will it skip or fail the flow? I cannot find the option to skip in the create folder.
From my understanding it won't error and won't try to recreate the folder if it already exists. I just did a couple of tests and seems to be the case.
User | Count |
---|---|
89 | |
41 | |
22 | |
20 | |
16 |
User | Count |
---|---|
138 | |
56 | |
47 | |
36 | |
25 |