Wait for File#

Waits for a file to appear for a specified time. If the file is not found in the folder within the specified time, an error will be generated.

Folder Name[Text] The full name and path of the folder where the file needs to be awaited.
File Name[Text/List] The name of the file or a list of names to wait for. Wildcard characters (*, ?) are supported.
Wait Time[Number] The wait time in seconds.
Result[Text] The full path to the expected file.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.