I'm trying to (1) get and display a list of all subfolders of a folder and (2) select one of them for further use (I want it to be the target of a move action).
What am I doing wrong here, by using the append action? (Only the first subfolder is displayed.)
The function of the break from loop action is to stop the search as soon as any folder has been found.
That was useful when simply detecting whether a folder had any subfolders, but here you don't need that break from loop action – you can just delete it.
Thank you! BTW: I had to change the last display action to 'Display text in a window', to get any message. (macOS 10.15.7, KM 9.2, Notifications enabled).
That's right, the output value was just going into the clipboard – I wasn't sure what you wanted to do with it.
FWIW, now that JMichaelTX has pointed out to us that the Prompt for File Action has a Choose Folder option, it might simplify life to use that instead, unless you want any finer control over the UI behaviour.