AquaLogic Interaction Administrator Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

E-mailing the Results of a Snapshot Query

You can e-mail the results of a snapshot query to users by creating an external operation and editing SavedSearchMailer.bat or SavedSearchMailer.sh.

Before you create an external operation to e-mail the results of a snapshot query, you must create the snapshot query and snapshot portlet.

To create an external operation you must have the following rights and privileges:


  • Access Administration activity right
  • At least Edit access to the Snapshot Query Mailer external operation
  • At least Edit access to the parent folder (the folder that will store the external operation)
  • At least Select access to the job that will run this external operation or Create Jobs activity right to create a job to run this external operation
  1. If you have not already done so, edit SavedSearchMailer.bat or SavedSearchMailer.sh to specify the settings for your mail server and customize the e-mail values.

    The saved search mailer file is located on the computer that hosts the Automation Service, iin Install_Dir\scripts (for example, C:\bea\alui\ptportal\6.5\scripts or /opt/bea/alui/ptportal/6.5/scripts).

    You must replace the following argument values:
    Argument Description
    SENDER The name you want to display as the From value in the automated e-mails
    MAIL_SERVER Your SMTP mail server
    REPLYTO The e-mail address that users can reply to from the automated e-mails
    Optionally, you can replace the following argument values:
    Argument Description
    USER The name of the user you want to send the automated e-mails
    PWD The password for the user that will send the automated e-mails
    MIMETYPE The MIME type you want to use for the automated e-mails
    SUBJECT The text you want to display in the automated e-mail subject line

    By default the subject includes the name of the snapshot query (represented by <search_name>) and the name of the user receiving the results (represented by <name>).

    BODY_HEADER The text you want to display at the top of the automated e-mail body
    BODY_SEPARATOR Any code you want to use to generate a separation between the header and the results
    BODY_FOOTER The text you want to display at the bottom of the automated e-mail body
  2. In the portal, click Administration.
  3. Open the snapshot portlet for which you want to e-mail results.
  4. Click the Properties and Names page.
  5. Copy or make note of the Object ID, then close the snapshot portlet.
  6. Open the Intrinsic Operations folder.
  7. Select the Snapshot Query Mailer external operation and click .
  8. In the Target Folder dialog box, select the folder in which you want to store your new external operation and click OK.
  9. Open the copy of the snapshot query mailer you just created.
  10. Replace 200 in the arguments with the object ID of the snapshot query you want to e-mail.
  11. Click the Set Job page and complete the following task:
  12. Click the Properties and Names page and rename the external operation.
Set the job to run on a regular basis.

  Back to Top      Previous Next