[rt-users] autoreply including article

Kevin Falcone falcone at bestpractical.com
Mon Jul 2 16:20:18 EDT 2012


On Thu, Jun 28, 2012 at 11:08:34AM -0700, jesse west wrote:
>    To: $Ticket->RequestorAddresses
>    Subject: Unexcused Early Release {$Ticket->Subject}
> 
>    Hi $Ticket->FirstCustomFieldValue('Student_Name')
> 
>    Thank you for your student report.
> 
>    Please be aware that this is considered an unexcused early release in accordance with the
>    student catalog. All time off requests must be made at least 2 weeks in advance, and/or a
>    student must supply a doctor*s note for it to be considered excused.
> 
>    Please remember any hours missed may result in over contract fees.
> 
>    Each curriculum has required days and hours of attendance. Attendance records are strictly
>    maintained and determine compliance with satisfactory progress for financial aid funding
>    purposes. In order to receive financial aid, you must maintain at least 80% overall
>    attendance.
> 
>    Kind Regards,
>    Student Services
> 
>    i would like the body of the email to use the contents of the field "Content" from Article #4
>    rather than the text above.

Then you'll want to read about Articles, if you have a specific id in
mind, you can just Load it and call methods on it as documented in the
code I pointed to in my earlier reply.

>    > Are you looking for documentation about Articles?
>    > perldoc lib/RT/Article.pm 
>    > perldoc lib/RT/Articles.pm

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120702/09be4f86/attachment.sig>


More information about the rt-users mailing list