Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

custom scrip with email

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


Andy.Werner at amxinc

May 2, 2008, 3:51 PM

Post #1 of 1 (44 views)
Permalink
custom scrip with email

I am creating a scrip that sends an email to a user when they create a correspondence or comment and they don't enter a value in the "Time Worked" field. The custom condition is:

if (($self->TransactionObj->TimeWorked == 0) && (($self->TransactionObj->Type eq "Correspond") || ($self->Transaction->Type eq "Comment"))){
return 1;}
else{
return undef;}

but this doesn't seem to work. My question is if there are any syntax errors in the above condition and also how can I build a custom action to send an email to the creator of the transaction.

Andy Werner
Help Desk Intern
AMX International, INC.
(208) 542-8230
andy.werner[at]amxinc.com

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.