On Mon, Apr 08, 2013 at 03:35:09PM -0400, Kevin Holleran wrote:
> When I have a multi-valued CustomField, how do I access the data?
> What would this return?
> my $policy_type = $ticket->FirstCustomFieldValue('Policy Affected
> Parties');
> Is it a list of some sort? I need to look to see what values are to take
> various actions based
> on this but how do I get at it and what do I get?If you check the docs, it tells you pretty clearly what FirstCustomFieldValue does on a multi-value CF. http://bestpractical.com/rt/docs/latest/RT/Record.html#FirstCustomFieldValue-FIELD Right below it are several other Custom Field related methods that are probably useful. -kevin
pgpSEC35gBNmU.pgp
Description: PGP signature
