[rt-users] CustomAction Scrips

Adrien Laurent adrien at modulis.ca
Wed Jun 11 14:18:14 EDT 2008


Hi,

Dear experts, I'm writing my first scrips, and I wanted to know If I'm
heading in the write direction:

When a ticket is created by requestor joe at something.com; I want joe's
boss to be added autmatically as second requestor:



if( $self->TicketObj->RequestorObj->Id = "joe at something.com") {

  $self->TicketObj->AddRequestor( "joe_boss at something.com );

}
return( 1 );


Thanks a lot !

Adrien


--
Adrien Laurent
CEO
514 284 2020 x 202



More information about the rt-users mailing list