Accessing last comment

HI,

I need to attach the notes from an approval denial to an outgoing email.
My idea was to:

From the originating queue:
On status change to rejected
Notify Requestor
using a template that adds the notes to the end.

How do I add the notes? I can get the “ticket” via Links, I just don’t
know how to get the attachment form the “approval ticket”.

Thanks,

Ramon Kagan
York University, Computing and Network Services
Information Security - Senior Information Security Analyst
(416)736-2100 #20263
rkagan@yorku.ca


I have not failed. I have just I don’t know the secret to success,
found 10,000 ways that don’t work. but the secret to failure is
trying to please everybody.
- Thomas Edison - Bill Cosby


HI,

I need to attach the notes from an approval denial to an outgoing email.
My idea was to:

From the originating queue:
On status change to rejected
Notify Requestor
using a template that adds the notes to the end.

How do I add the notes? I can get the “ticket” via Links, I just don’t
know how to get the attachment form the “approval ticket”.

You could combine this:

http://wiki.bestpractical.com/index.cgi?AddLastCommentToMail

With this:

Description: MyOnRejectedScrip
Condition: User defined
Custom Condition:
return undef unless ($self->TransactionObj->Type eq “Rejected”);

Action: Notify …someone…

Template: Global template: YourNewTemplate

Andy Harrison