×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Email Macro

Email Macro

Email Macro

(OP)
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!

RE: Email Macro

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"

RE: Email Macro

(OP)
Thanks for the help, works perfectly!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close