CustomAction Scrips

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@something.com; I want joe’s
boss to be added autmatically as second requestor:

if( $self->TicketObj->RequestorObj->Id = “joe@something.com”) {

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

}
return( 1 );

Thanks a lot !

Adrien

Adrien Laurent
CEO
514 284 2020 x 202