Count how many files are in the folder

Create variables:
FolderPath - Str
intPDfFileCount - Int

  1. Create an assign activity - FolderPath - Provide the Folder Path
  2. Create an assign activity - intPDfFileCount - Directory.GetFiles(FolderPath ).Count
  3. Create If Activity - Provide the condition - intPDfFileCount = 0 Then " Files not available" Else " Files Available"