In an assign I use the logic ‘New DirectoryInfo(‘requiredfolder’).GetFiles(".")’ to get an array of files (called arrFiles) from the required folder. The array is of system.IO.filesystem type
Occasionally they’ll be no files in there so I want to use a flow decision or an IF statement (whichever you think is easier) to check this.
What is the code (please) to put in the flow decision/IF statement to check this. I’ve tried arrFiles >0 = True and things like that to no avail (new to coding!!)
Thanks in advance