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?
AutoSys 11.x / 12.x
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