[rt-users] How do you check the value of a Transaction CustomField

Thomas Sibley trs at bestpractical.com
Wed Jul 3 17:51:30 EDT 2013


On 07/03/2013 03:18 AM, scott.dalzell wrote:
> Just a note the above works for the Ticket Custom Field if i change the 
> 
> $cf->LoadByName(Queue => $trans->QueueObj->id,Name => "Alert_Support_T"); 
> to
> cf->LoadByName(Queue => $ticket->QueueObj->id,Name => "Alert_Support"); 

RT::CustomField->LoadByName only loads ticket CFs, no other types (for
historical reasons).

You'll need to load it differently.




More information about the rt-users mailing list