Skip to main content
Skip table of contents

WaitForFile

Waits until a file exists and/or does not grow anymore. Often needed in import or processing scenarios.

Properties

Input

Name

Description

Path

Path to monitored file

WaitForExist

Wait until file exists

AwaitedMinSize

If greater than 0 wait for the file size specified (but not longer than 60 seconds)

TimeoutExist

Maximum time span (in milliseconds) waiting for a file to be created

ThowIfNotExists

Throw an exception if file is not existing after TimeoutExist

WaitForNonGrowing

Wait until file is not growing anymore

TimeoutNonGrowing

Maximum time span (in milliseconds) waiting for a file to not grow anymore

ThrowIfStillGrowing

Throw an exception if file is still growing after TimeoutNonGrowing

PollingInterval

Polling interval for file monitoring (in milliseconds)

ReturnFileSize

Return file size

IgnoreExceptions

Ignore exceptions when accessing file

Output

Name

Description

Exists

Optional variable that reports if the file exists in the end (type: Boolean)

FileSize

Optional variable that reports the file size (if ReturnFileSize equals true, type: Int64)

Grows

Optional variable that reports if the file is still growing (type: Boolean)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.