Note that this workflow only works on Unix systems.
The get_temporary_directory beanshell returns the path to the directory in which temporary files are held. This value is passed to the create_and_populate_list beanshell which creates a list of '-R' and the path. The resultant list is passed to the args port of the Execute_cmd_line_app service. The command port of that service has been defaulted to '/bin/ls'.
The execute_cmd_line_app service runs the /bin/ls -R command on the temporary directory. The result is passed to its result port and then to the out port of the workflow.
/bin/ls
net.sourceforge.taverna.scuflworkers.io.LocalCommand
File f = File.createTempFile("taverna", ".tmp");
directoryPath = f.getParent();
directoryPath
-R
List outList = new ArrayList();
outList.add(in1);
outList.add(in2);
in1
in2
outList