Skip to content

Wait File

Waits until the file be available.

Properties

NameDescriptionRequired
Continue on errorSpecifies to continue executing the remaining activities even if the current activity failed. Only boolean values are allowed.
Directory PathDirectory path to be monitored.
File name is dynamicWhen true, the behavior of the activity changes to monitor a specific folder until find a file that corresponds to the search pattern informed.
File PathThe path to the file.
IntervalSpecifies the amount of time in seconds for the file re-check. Any value less than 0.5 will be clamped to 0.5. Make sure to keep this value lesser than Timeout value.
ResultThe FileInfo object of the respective file when found.
Search PatternThe search string defines file name patterns in the path. It supports literal text and wildcards (, ?, !, |), but not regular expressions. Use ! for exclusions (e.g., !.txt), and | for multiple patterns (e.g., .png|.gif|*.jpeg). Default is . (all files).
TimeoutSpecifies the amount of time in seconds to wait for the activity to complete before an error is thrown. The default value is 30 seconds. Any value less than or equal to zero will be reset to 30.
Wait For ExistWaits until the file exists.