Automic Workload Automation

 View Only
  • 1.  How to zip attached files during sending

    Posted Sep 21, 2019 10:43 AM
    Hello,

    I'm sending a file by e-mail.
    But befor sending I want to zip it.

    But not with an extra job and OS Agent.

    Is it possible to zip the file with the sending Notification?

    Thank you very much
    Lisa


  • 2.  RE: How to zip attached files during sending

    Posted Sep 23, 2019 04:46 AM
    Hi.

    Plain and simply, no - sorry.

    There is no script function​ or built-in function to zip, or otherwise compress attachments to CALL objects in Automic. So you'd indeed need to do that with an OS job beforehand. You'd need to use Powershell ("Compress-Archive") or an external zip command such as 7z.exe or /usr/bin/zip.

    Best regards,
    Carsten


  • 3.  RE: How to zip attached files during sending
    Best Answer

    Posted Sep 23, 2019 08:31 AM
    Hi

    as Carsten explained, you will need at least an OS Job or OS CALL to zip the file.

    The easiest method would be putting the OS-Zip-Job and the CALL object into a Workflow.

    In theory you could use an os call out of a script, but for this you need approx. 28 Years automic experience incl. knowledge to avoid some builtin limitations :-)

    cheers, Wolfgang

    ------------------------------
    I know I do really know it!
    ------------------------------



  • 4.  RE: How to zip attached files during sending

    Posted Sep 24, 2019 10:57 AM
    Thank you both very much