File Watcher and file trigger jobs watching for updated files
search cancel

File Watcher and file trigger jobs watching for updated files

book

Article ID: 209289

calendar_today

Updated On:

Products

Autosys Workload Automation CA Workload Automation AE - System Agent (AutoSys)

Issue/Introduction

We currently have file trigger jobs running and were looking to change them to file watchers.   But when we changed them to file watchers watching for an 'update' to the file, the job immediately runs to success.  We need it to watch for the file to be updated.

How can this be accomplished?

Environment

AutoSys 11.x / 12.x

Resolution

You will want to use filetrigger jobs with the watch_file_change set to EXPAND.

Example:

watch_file_type: EXPAND
watch_file_change_type: DELTA
watch_file_change_value: 1


The situation where a file is already present, then the FT starts, the job does not go to success until the file gets updated. 

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/autosys-workload-automation/12-0-01/reference/ae-job-information-language/jil-job-definitions/watch-file-change-value-attribute-specify-the-change-in-file-size.html