List SubFolders and Save them to a File

I am not clear, can you elaborate the issue

Hers’ the exampleExample.xaml (4.8 KB)

string.join will give you a string and not a array of string… just adjust your variable type…

The Input Dialogue activity is empty and does not have any parameters passed in.
Can you tell us what is your expectation in the Input Dialogue, possible put something in an excel and share the screenshot here.

The expectation to get the list of subfolders as a list in text file than use this list as array in 'input dialogue", hope is clear

Do you want something like the following,
Untitled

Those my folders available inside a folder and displaying all in an input dialogue control

1 Like

YES exact but I want them in “Option” field in “input Dialogue” not in “Label”

Okay then, put this query into your Option property in the Input Dialogue activity.

Directory.GetDirectories(“yourdirectorypath”).[Select](Function(d) New DirectoryInfo(d).Name).ToArray()

Unfortunately not working either :disappointed_relieved:

Tried like this?

1 Like

Awsome!!! :slight_smile: Works Perfectly… Thanks a lot for your time @sarathi125

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.