FRENDS⁴ Common Components : Frends.Common.DelayProcess.DelayTasks.WaitForFileToAppear

This task takes a folder and a filemask as an input and subscribes to changes matching that filemask. This means that the task will wait in executing state until the timeout passes or the specified file appears in the set directory.

Input Parameters

  • FolderPath
    • The path to the folder subscribed
  • FileMask
    • Filemask that is applied to the folder provided
  • TimeoutMS
    • The timeout of the stored procedure execution in milliseconds.

Output Result

  • String
    • Path to file that was changed. Empty string if TimeoutMS is reached.