Read User Custom Field of Ticket Originator

I was curious if anyone could point me to sample code snippet that would
allow me to retrieve the value of a user custom field associated with the
original requestor/originator of a ticket generated from an incoming email,
from within a Scrip. The ultimate goal is, on create of a new ticket in the
queue associated with email generated tickets, inspect a custom field for
the requestor of that ticket, and move the ticket to another queue based on
the value of the requestor’s custom field. I have found lots of examples to
read values of custom fields associated directly with the ticket, but not
user custom fields associated with the original requestor.

Thanks,

Peter

I was curious if anyone could point me to sample code snippet that would allow me to retrieve
the value of a user custom field associated with the original requestor/originator of a ticket
generated from an incoming email, from within a Scrip. The ultimate goal is, on create of a
new ticket in the queue associated with email generated tickets, inspect a custom field for
the requestor of that ticket, and move the ticket to another queue based on the value of the
requestor’s custom field. I have found lots of examples to read values of custom fields
associated directly with the ticket, but not user custom fields associated with the original
requestor.

It sounds like you want something like
$self->TicketObj->CreatorObj->FirstCustomFieldValue(‘…’)

-kevin

It sounds like you want something like
$self->TicketObj->CreatorObj->FirstCustomFieldValue(‘…’)

-kevin

That did the trick, thanks!