Try Catch
Try
Repeat (each file in the folder) [Filter: “.pdf"]
Search for String in PDF Files
If String Found
Perform Actions
Else
Log Message: String not found in PDF files
Catch
Repeat (each file in the folder) [Filter: ".doc”]
Search for String in Word Files
If String Found
Perform Actions
Else
Log Message: String not found in Word files