[rt-users] Help with webrt

Ruslan U. Zakirov cubic at acronis.ru
Thu Mar 25 07:48:22 EST 2004



Phillip Leremi wrote:
[snip]

>>
>> Condition:
>>
>> On Create
>>
>> Preparation code:
>>
>> # we don't need any preparation yet.
>> return 1;
>>
>>
>> Commit code:
>>
>> unless( $self->TicketObj->TimeWorked ) {
>> $self->TicketObj->SetTimeWorked( 15 );
>> }
>> return 1;
> 
> 
> 
> where should i put this code?
> 

You should add scrip action via Web UI.
As action use 'User defined'. Stage TransactionCreate.

Find time look on wiki pages and RT docs. There is a lot basics.

		Good luck. Ruslan.

Always CC to user list also.



More information about the rt-users mailing list