Skip to main content

File Listener (Win Share)

Overview

The File Listener (Win Share) trigger watches files in a Windows shared location and starts a new workflow iteration when matching files are created or updated.

Purpose

Use this trigger to process files that arrive on SMB or Windows network shares.

Configuration

FieldDescription
Windows Share ServiceThe Windows share service to connect to. For more, see Windows Share Service.
File PathFile path on the share. The value can include workflow properties and wildcard patterns such as *.xlsx.
Read file content to propertyStores supported file content in WIN_SHARE_FILE_LISTENER_CONTENT.

Outputs

OutputData TypeCollectionDescription
ChangedFileNodeFileFalseThe trigger outputs a NodeFile for each changed file.

Properties

PropertyFlowDataTypeDescription
WIN_SHARE_FILE_LISTENER_FILEJsonNodeFile information that been listened for changed from the server
WIN_SHARE_FILE_LISTENER_CONTENTStringThe file content inside a property
WIN_SHARE_FILE_LISTENER_NAMEStringFile name.
WIN_SHARE_FILE_LISTENER_PATHStringFile path.
WIN_SHARE_FILE_LISTENER_SIZELongFile size in bytes.
WIN_SHARE_FILE_LISTENER_LAST_MODIFIEDLongLast modified timestamp.
WIN_SHARE_FILE_LISTENER_IS_HIDDENBoolean
WIN_SHARE_FILE_LISTENER_CAN_READBoolean
WIN_SHARE_FILE_LISTENER_CAN_WRITEBoolean
WIN_SHARE_FILE_LISTENER_OWNER_GROUPString
WIN_SHARE_FILE_LISTENER_OWNERString
WIN_SHARE_FILE_LISTENER_REQUEST_PROPERTIESJsonNode
WIN_SHARE_FILE_LISTENER_SERVERStringWindows share server information.

Processing Logic

The trigger evaluates the configured path, lists matching files when a wildcard is used, sorts changed files by modification time, downloads each file from the share, and emits them sequentially. The last processed modification timestamp is stored after a successful iteration.

Examples

  • masterdata\mydata.csv watches one file.
  • excel_reports\*.xlsx watches all matching Excel files in a folder.
  • signatures_shares\signatures${EXEC_BY_USERNAME}_scanned_signature.jpg uses a workflow property in the path.

Notes / Limitations

  • The Windows Share Service must have access to the configured path.
  • Manual runs do not update the stored listener state.
  • File content is only stored as a property when the option is enabled and the file type can be read safely.