Hi All, What I want to do is have a new ticket auto-created in 'Queue B' with no owner once a certain CF value is selected in a ticket in 'Queue A'. Here is what I have so far, and I feel like this should work but it is not (nothing happens). Please help! Thanks!
(Note: this scrip is written in 'Queue A') Custom condition: if ($self->TicketObj->FirstCustomFieldValue('Progress') eq 'Data Received') { return 1; } return 0; Custom paction preparation code: return 1; Custom action cleanup code: my $trans = $self->TransactionObj; my $tkt = $self->TicketObj; my $requestors = [ $tkt->Requestors->MemberEmailAddresses]; my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = $new_tkt->Create( Queue => "Queue B", Subject => $tkt->Subject . " (Data Received)", Status => 'new', Requestor => $requestors; return 1; -- View this message in context: http://old.nabble.com/Auto-creating-ticket-in-Queue-B-from-Queue-A-not-working-tp27341712p27341712.html Sent from the Request Tracker - User mailing list archive at Nabble.com. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com 2010 RT Training Sessions! San Francisco, CA, USA - Feb 22 & 23 Dublin, Ireland - Mar 15 & 16 Boston, MA, USA - April 5 & 6 Washington DC, USA - Oct 25 & 26 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com