AppWorx, Dollar Universe and Sysload Community

 View Only
  • 1.  AWMAIL - how to change body of email

    Posted Oct 26, 2018 11:12 AM

    I'm not quite sure how to use prompts in Application Manager to change the body of an email using the executable:  AWMAIL.  I tried adding a prompt for body_msg thinking that would override the default message in the script but it will not work.  Any suggestions would be greatly appreciated.  #AWMAIL



  • 2.  Re: AWMAIL - how to change body of email
    Best Answer

    Broadcom Employee
    Posted Oct 26, 2018 03:13 PM

    Hello,

     

    Please go ahead and revert any changes to the AWMAIL script. If you want to override the default message for AW_EMAIL, you need to create a Message Template by the same name (AW_EMAIL). This is detailed in the documentation linked below

     

    Below is an excerpt from the Documentation detailing this particular topic:

    Specifying Email Body Text with the AW_EMAIL Message Template

     

    When output files are attached to an email, the task's run_id Replacement Value will be entered as the email body. To use custom text as the email body, create a Message Template named AW_EMAIL. You don't need to assign the AW_EMAIL Message Template to the Job. Message Templates can include Replacement Values and Subvars. A sample Message Template is shown below.

     

    Hope this Helps!

     

    Regards,