cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2108
Views
0
Helpful
3
Replies

File Dependency not working properly

eshwar.kb
Level 1
Level 1

Hi,

In our project we have a job group which will move a set of file from one directory to another directory. The first job in that group will be run only when a file with an extension "ind" is present in the source directory, i.e the dependency is set to a file with extension *.ind(Please see attached screeshot for reference).

But when we run the job the dependency is not being satisfied even though the file is present in the source directory.

What could be the reason for this?

Note: If I overide the job, then the files are properly griing moved. But since this is automated, the job run must be based on the dependency we have set.

3 Replies 3

Tracy Donmoyer
Level 1
Level 1

This sounds like the runtime user of the job is a different account than used by the agent.

File Dependencies and File Events are evaluated by the agent process.  This means the account running the agent service must have access to the file.

When the job runs it uses the runtime user.  If the runtime user is different account than the agent account you can encounter the problem you describe.

If this is a Windows agent running as a Local System account, the agent will only have access to files local to the server.  So if the file is on another server the agent will not have access to it.

If this isn't your issue, could you provide details about the agent (windows/unix), file location (local to agent/UNC path), and whether the agent running the job is the same as the agent being used to evaluate the file dependency.

Thanks.