[rt-users] Action Upon Approval
Ben Blakely
bblakely at gmail.com
Mon Dec 13 16:56:56 EST 2004
Todd,
I set that scrip up but not to sure if its running or not. However, I
can use the default scripts to do stuff, such as notifing CC's on
reply.
On Mon, 13 Dec 2004 15:07:46 -0500, Todd Chapman <rt at chaka.net> wrote:
> Can you get a simple scrip to work? Such as:
>
> Condition: User Defined
> Action: User Defined
> Template: Global tempalte: Blank
> Stage: TransactionCreate
> Custom condition:
>
> my $trans = $self->TransactionObj->Type;
> if ($trans eq 'Status' && $self->TransactionObj->NewValue =~ /(resolved|rejected|deleted)/i) {
> return 1;
> }
>
> Custom action preparation code:
>
> 1;
>
> Custom action cleanup code:
>
> $RT::Logger->debug("Resolve action running...");
>
> On Mon, Dec 13, 2004 at 03:38:49PM -0500, Ben Blakely wrote:
> > Hey Todd,
> >
> > It seems to be a problem with getting an action to be performed after
> > the child ( approval ticket ) is resolved. Im taking your approach,
> > when the approval ticket is resolved id like to have another ticket
> > created in another queue.
> >
> >
> > Ben
> >
>
More information about the rt-users
mailing list