[rt-users] Placing Custom Fields into the Subject

Kevin Falcone falcone at bestpractical.com
Fri Mar 9 10:07:18 EST 2012


On Fri, Mar 09, 2012 at 08:33:22AM -0500, Chad Osmond wrote:
>    We have messages coming in with a generic subject, and we're using ExtractCF to pull out
>    important information from the body into the Custom Fields, which works amazing.
> 
>    But I'd like to re-write the subject with some of the information contained in the custom
>    fields..
> 
>    Does anyone have an example on how to do this?
> 
>    I assume it's a Scrip, On Create, running after our ExtractCF scrip...

Yes, it's an On Create with a User Defined action, Prepare would be 1;
and Commit would call $self->TicketObj->SetSubject() passing in the
data you want.

-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/20120309/4108c331/attachment.sig>


More information about the rt-users mailing list