Automic Workload Automation

  • 1.  File watcher counter

    Posted Oct 13, 2017 10:50 AM
    I have a requirement in UC4 v9 to setup a file watcher to check for the existence of a file every 30 minutes and if no file exists after 3 consecutive checks, send a notification but keep the file watcher active. If there is a file, the counter would reset each time. Is it possible to add something to a file watcher object to keep count? Any help would be appreciated. Thanks in advance.


  • 2.  File watcher counter

    Posted Oct 13, 2017 11:43 AM
    I don't know if you could apply this to your use-case, but we've always looked at these types of requirements a little differently.  We don't usually throw late file alerts based upon how many times we checked, but based upon SLA business rules.

    Say for instance we have an incoming file that is supposed to arrive by 4am, and if it has not arrived by 6am we need to send an alert, and if it has not arrived by 8am we need to send a more stern alert.  We would implement the two alert events as new workflows that are scheduled to run at 6am and 8am.  They consist of a single EMAIL task with a precondition "CHECK HISTORY" rule that checks for successful completion of the file watcher task, and either runs or skips the EMAIL task according to the results of this check.