AutoSys Workload Automation

 View Only

Can attachment extensions be controlled or set via mail template settings?

  • 1.  Can attachment extensions be controlled or set via mail template settings?

    Posted Sep 13, 2021 04:24 PM
    Hi,

    Here's the entry in our Mail Template settings which the Autosys Admins have. Users do not have access to tweak these settings. Is it possible to control the attachment extension, this way it opens with the appropriate App, like .txt with your default text editor and .pdf with Adobe, etc. Currently it truncates the extension and attaches the file which requires additional steps to select 'Open With' each time or download and save and then open the file.

    Has anyone encountered this or know a solution to make this easier?? I don't have access to tweak the template but I certainly can request if there's a way to do so. I reviewed the Workload Automation Reference Guide and it only gives the following, nothing about extensions.

    STDOUT
    Specifies whether to attach the STDOUT file to the email notification. The valid values are yes and no.
    Default: no; does not attach the STDOUT file to the email notification.
    STDERR
    Specifies whether to attach the STDERR file to the email notification. The valid values are yes and no.
    Default: no; does not attach the STDERR file to the email notification.
    LOG_LINES
    Specifies the maximum number of lines to include in the STDOUT or STDERR file that is attached to the email notification. If you set this value to 0 (zero), the complete STDOUT or STDERR file is attached to the email notification.
    Default: 1000


    Here's an excerpt from our temlpate:

    [FAILURE]
    SUBJECT=CA Workload Automation - Job: <<<job_name>>> Status: <<<job_status>>>
    MESSAGE=[start]
    -----------------------------------------------------------------------------------------
    CA Workload Automation (AutoSys) - Automated Email Notification
    -----------------------------------------------------------------------------------------
    Instance: Development

    Job name: <<job_name>>
    Job description: <<description>>
    Status: <<job_status>>
    Job run machine: <<run_machine>>
    Job start time: <<start_time>>
    Job completion time: <<completion_time>>
    Exit code: <<exit_code>>


    ---------------------------------------------------------------------------------------------------------
    Note: This email was automatically generated based on the job definition.
    Please do not reply.
    ---------------------------------------------------------------------------------------------------------
    [end]
    STDOUT=yes
    STDERR=yes
    LOG_LINES=500

    Thanks,
    Saurin


    Here's how the file appears via email: