Hello Developers
I am using RT 4.4.1 Copyright 1996-2016 Best Practical Solutions, LLC
Is this a bug? Or am I missing something?
If I run the following code
package RT::Action::CSIAutoTicketProcess;
use base ‘RT::Action’;
use strict;
use warnings;
sub Prepare
{
return 1;
}
sub Commit
{
my $self = shift;
my $ticket = $self->TicketObj; All is good until I add this line
return 1;
}
return 1;
via rt-crontool all seems to be fine how when the script is execute when a ticket is create via the rt-mailgate I get the following error.
Delivery error (command rt-mailgate 7138 error (75, RT server error.
The RT server which handled your email did not behave as expected. It
said:
assigned NAE General jtally
Changing Owner
ok
Ticket: 180
Queue: NAE General
Owner: jtally
Status: new
Subject: Testing
Requestor: bbaker@copesan.com))
Ticket is still created.
When is the TicketObj available to be used?
Thanks Bryon