FileGuard is an automation function in TIS using the Windows file system for triggering calculations in TIS. The FileGuard configuration defines which directory and filenames are observed and which solution runner script has to be executed for each file. A solution runner script is by default stored in a TIS Table ./TIS/$SysTables/AdminScripts and has a unique key TIS_FG. The FileGuard configuration is stored in the database table t1510.

Prerequisits

  • User must be created, which is refered by the File guard configuration, see File Guard Configuration for details
  • AdminScripts Table must be available in folder TIS/$SysTables, see also TIService Settings for ProcessMasterSolutionName configuration.

File Guard Adminstration portlets

There are two portlets in TIS Board to show and control File Guard activities starting from v 6.6.

Control portlet for all file guards

The first one is the Control portlet for all file guards:



Here can be set up multiple File Guards, controlled individually. Each row represents an instance. 

The columns are the following:

  • Name: this is specified by the user for easier identification
  • User: it has to be the TISU_TISFileGuard user running the process. This must be created in the user management
  • Input directory: i.e. C:\TIS\FileIn - the folder where the files will be copied to be processed by TIS
  • Input file patterns: i.e *.csv or TISFILE. * - a filter for the files to be processed in the given directory
  • Solution Runner: the name of the solution runner which runs the File Guard
  • Prefix length: Grupping is possible so here it has to be specified, how many characters will be the same for the files belonging the same group
  • Allowed hosts: APPID(s) of the instances where the File Guard run. Necessary only in case of cluster deployment
  • State: shows which state the specific File Guard is
  • Result: shows the result after the process i.e. error, success, etc.

List of all files processed by the file guard

The second portlet is called List of all files processed by the file guard:

Shows the results of the processes and here an already processed file can be re-processed through deleting the old process for the same file(s):

  • File guard name: this is specified by the user for easier identification in the control portlet
  • File batch ID prefix: the prefix of the file grupping specified in the control portlet
  • File name: name of the file processed
  • File hash: unique ID for the process
  • Processing APPID: the instance ID of the processing TIService
  • Timestamp: when the process was running
  • Action: the process can be deleted so the same file  can be re-processed

See also