[rt-users] Custom field value upon creation In Approval process

Roy Frenkiel royf at qballtech.net
Sun Nov 26 07:16:58 EST 2006




Hi,
The template activated when creating a new approval process is as follows:

===Create-Ticket: Stage-1
Subject: Engineering ECO Approvement of {$Ticket->Subject}
Depended-On-By: TOP
Queue: ECO_Approvals
Owner: Engineering
Type: approval
AdminCC: {
     my $group_name  = 'ECO-Approvers-Engineering';
     my $groups      = RT::Groups->new( $RT::SystemUser );

     $groups->LimitToUserDefinedGroups();
     $groups->Limit(
           'FIELD'    => 'Name',
           'OPERATOR' => '=',
           'VALUE'    => $group_name );
     $groups->First->Id;
}


What I would like to do is a add another line to set the value of a
custom field I created in the approval queue to be a certain value.

What line should I write in the template?

I'm Using version 3.4.5

Thanks a lot

Roy







More information about the rt-users mailing list