ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

WAAE File Watch job not completing when file arrives


Article ID: 193756


Updated On:


CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE


We have an application that has several file watcher jobs that do not go to success when the file arrives.

Agent operating system: Windows  2012 
Agent version 11.4 build 1609

Job Definition example:
insert_job: 123_fw   job_type: FW
machine: host1234
owner: [email protected]
date_conditions: 1
days_of_week: mo,tu,we,th,fr
start_times: "00:05"
term_run_time: 1020
timezone: EST5EDT
watch_file: "\\zfsgalaxy\prod\data\Galaxy.%ipv_as_of_date%.csv"
watch_interval: 60





Release : 11.4

Component : CA Workload Automation AE (AutoSys)


The job owner lacked permissions to the directory where the file was located. While a lack of permissions like that will cause a command job to fail it does not cause filewatchers or filetriggers to fail. They will continue to run and just report permission issues in the job logs until they can successfully see the file or the job is killed.

The messages in the logs may look something like:

Error scanning \\zfsgalaxy\prod\data\Galaxy.20200602.csv: 5 (Access is denied.)