×
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!
  • Students Click Here

*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

Jobs

Raising an email macro

Raising an email macro

Raising an email macro

(OP)
I currently have macros which are successfully emailing people based on the state of a job ticket.

For instance I have:

total.pages in $L.new=1 and assignment in $L.new="XYZ"


This works a treat for new tickets but here's my latest problem. We have now added a new field to a ticket called Reassignment (bet you can't guess what that's for?). Yep, if a ticket already exists, and is reassigned to a new group, I would like for a macro to send an email to the new group to notify them that they are now responsible for the ticket.

I'm thinking this is acheived like this:


total.pages in $L.new>1 and Reassignment in $L.new="XYW"


But I'm not sure, because the ticket is no longer a new ticket.

Can anyone suggest how I identify the ticket as "Not a new" ticket and what is the total.pages telling me?

Thanks

birklea

birklea ~©¿©~ <><
I know what I know...don't presume that I know what I don't! Smithism!!!

RE: Raising an email macro

total.pages will tell you the number of updates.

What I've done to notify on reassignment is this:

Created a field called send.email
In formatcontrol, set send.email to false on display
In formatcontrol, set send.email to true if the assignment group has changed (in formatcontrol, you can use $file0 like $L.old to do comparisons)
Use a macro to send the message if send.email is true.

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