[Rt-devel] Get Requestor on ticket creation

Jonathan Scher js at oxado.com
Mon Apr 16 11:34:11 EDT 2007


Hello,

Whenever a customer create a ticket, I need to match his email with an 
external database in order to set some custom fields.
In order to do so, I would like to create a scrip with those values:
Condition: On Create
Action: User Defined
Stage: TransactionCreate


Custom action preparation code:
return 1;
Custom action cleanup code:
.....
$from = <Requestor>

How could I get those requestors? I've try to find them on $self, and on 
$self->Transaction->First but...

Regards,

Jonathan Scher


More information about the Rt-devel mailing list