Automic Workload Automation

 View Only
  • 1.  Script to download the external (directory) reports - V.12.2

    Posted Jul 23, 2019 07:41 AM
    ​Good day!

    Is there a script function that I could use to download the external report instead of doing so from the Reports screen manually?

    I know I can use the Pre_Process_Report / Write_Process functions, but I would like to avoid writing the reports line by line to an external file.

    Thanks a lot in advance for your help,
    Mylene

    ------------------------------
    Programmer-analyst
    Statistics Canada
    ------------------------------


  • 2.  RE: Script to download the external (directory) reports - V.12.2

    Posted Jul 23, 2019 08:38 AM
    Hi, 
    may be you can use the Section "Job-Report" -> save allways in file in the object specific properties, afterwards you can get the report from the log folder of the agent install directory.

    ------------------------------
    Thx & rgds
    Christian
    ------------------------------



  • 3.  RE: Script to download the external (directory) reports - V.12.2

    Posted Jul 23, 2019 10:45 AM
    That what I thought would be the answer.  No ways of getting them directly from the database ?
    Ho well !​

    ------------------------------
    Programmer-analyst
    Statistics Canada
    ------------------------------



  • 4.  RE: Script to download the external (directory) reports - V.12.2

    Posted Jul 26, 2019 04:05 AM
    Hi, 

    why do you want get the file from the db when you can save it directly on the agent directory with one klick?
    If you use the option "save always in file" you can use the automic filetransfer to copy/move the file, or you
    can also directly send the file via email or so on ....

    ------------------------------
    Thx & rgds
    Christian
    ------------------------------