Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Macro

Status
Not open for further replies.
Mar 12, 2002
3
US
I'm trying to set up a Macro to send out a email to the first oncall for a group. Here are the first conditions I have in for the Macro:

Applies when: Incidents are Saved
Macro Type: Mail 1 Assignment group
Macro Condition: problem.status in $L.new="Open"

What I would like to know is what Macro would I type in the body of the message to get a brief description of the ticket and the ticket number, and in the Email topic put the ticket number in there.
Also in the output quene, how can you tell if the email has succesfully reached the user?

Thanks!
 
In the message section, choose Evaluating Expressions, then build a variable called $L.message. Build it as an array with each member of the array being a line in the email, so something like this:

$L.message={"Ticket Number: "+number in $L.new, "Brief Description is: "+brief.description in $L.new}

Same thing with the subject line, use $L.title and I think it's just a text field, not an array (ie $L.title="Problem Ticket #"+number in $L.new+" has been opened"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top