Automic Workload Automation

  • 1.  Using Check File  (file exists) for a precondition...

    Posted Apr 25, 2018 11:22 AM

    Having issue where file is correctly recognized in a folder but not in a folder downstream (lower down the folder structure). Not getting any errors, it just contnues to look for a file that is there. Our security people verified the permissions within all the folders... Any ideas?



  • 2.  Re: Using Check File  (file exists) for a precondition...

    Posted Apr 25, 2018 12:55 PM

    What do you have set for FileProcessingMaxDepth in the Agents INI that is being used to check for the file?



  • 3.  Re: Using Check File  (file exists) for a precondition...

    Posted Apr 25, 2018 02:03 PM

    Thanks for the response.....

     

    We currently have it set as:

     

    FileProcessingMaxDepth= 0

    FileProcessingTimeout= 0

     

     

    Which should be no limitations.



  • 4.  Re: Using Check File  (file exists) for a precondition...
    Best Answer

    Posted Apr 25, 2018 02:57 PM

    Have you tried it with a File event or a GET_FILESYSTEM command? Maybe it is a limitation with the Precondition check?



  • 5.  Re: Using Check File  (file exists) for a precondition...

    Posted Apr 25, 2018 05:17 PM

    This could still be a permissions problem.  I think precondition rules may be executed by the AE engine, and not by the target agent.  So the credentials that need access to the file would be the AE engine credentials.

     

    Pete



  • 6.  Re: Using Check File  (file exists) for a precondition...

    Posted Apr 25, 2018 05:25 PM

    Check file precondition makes you specify an Agent to use for the check



  • 7.  Re: Using Check File  (file exists) for a precondition...

    Posted Apr 25, 2018 05:29 PM

    Michael is correct... these checks are executed from the specified agent.  So that agents credentials would need to have access to the file.



  • 8.  Re: Using Check File  (file exists) for a precondition...

    Posted Apr 26, 2018 08:43 AM

    I tried the file event and that worked without any issues.... I should be able to use that instead of check file for this specific situation. Probably easier than fighting through agent permission setups with our security area.

    Thanks for all the responses!



  • 9.  Re: Using Check File  (file exists) for a precondition...

    Posted May 01, 2018 02:16 PM

    We had the same issue when we first started using the check file in the conditions. As @Michael Pirson and @Peter WIRFS  shared, you have to specify the agent. It wont work if the Agent is OWN unless you have a unix agent on that server.