On Wed, Mar 28, 2012 at 10:51:14AM -0700, David Good wrote: > On 3/27/2012 5:36 PM, Kevin Falcone wrote: > > On Tue, Mar 27, 2012 at 03:08:53PM -0700, David Good wrote: > You're right -- QuickCalls is exactly what we need. You can set Custom > Fields as well, you just have to know the field's ID and then to set its > value you'd use 'CustomField-<id>' instead of the field name, like this:
Oh, good, that was my guess but I wasn't sure. It get's complicated
to load CFs by name.
> Set($QuickCalls,
> [
> {
> Name => 'New Account Request',
> Queue => 'Helpdesk',
> Status => 'open',
> 'CustomField-3' => 'Your desired Custom Field value',
> SetOwnerToCurrentUser => 1,
> },
> ]
> );
>
> The SetOwnerToCurrentUser option is nice, too. It should probably be
> documented somewhere -- I only found it when I was poking around trying
> to figure out how to set Custom Field values.
>
Feel free to send a doc patch over to the rt.cpan queue. I believe
the feature was contributed as a patch and the lazy applier (probably
me) forgot to request docs or write them.
-kevin
pgp1KVxnrzVM3.pgp
Description: PGP signature
