If you take the example below. If there are no files or directories in C:\Temp, then xRobocopy does not copy files from \myserver\myfiles. As soon as you place a file or folder in C:\Temp and run the resource again, all files from \myserver\myfiles are copied to C:\Temp.
I have similar problem if the source directory contains only sub directories and no file : nothing is copied. If I had a dummy file in the source directory, then the source directory is well copied.
If you take the example below. If there are no files or directories in C:\Temp, then xRobocopy does not copy files from \myserver\myfiles. As soon as you place a file or folder in C:\Temp and run the resource again, all files from \myserver\myfiles are copied to C:\Temp.