[Rt-devel] Get Requestor on ticket creation

Roy El-Hames rfh at pipex.net
Mon Apr 16 12:01:27 EDT 2007


Have you tried $self->TicketObj->RequestorAddresses ??
Roy

Jonathan Scher wrote:
> 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
> _______________________________________________
> List info: 
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>



More information about the Rt-devel mailing list