NAME
Kernel::System::ProcessManagement::Modules::TicketCustomerSet – A module to set the customer of a ticket.
DESCRIPTION
All TicketCustomerSet functions.
PUBLIC INTERFACE
new()
Don't use the constructor directly, use the ObjectManager instead:
my $TicketCustomerSetObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::Modules::TicketCustomerSet');
Run()
Run Data
my $TicketCustomerSetResult = $TicketCustomerSetActionObject->Run(
UserID => 123,
Ticket => \%Ticket, # required
ProcessEntityID => 'P123',
ActivityEntityID => 'A123',
SequenceFlowEntityID => 'T123',
SequenceFlowActionEntityID => 'TA123',
Config => {
CustomerID => 'client123',
# or
CustomerUserID => 'client-user-123',
#OR (Framework wording)
No => 'client123',
# or
User => 'client-user-123',
UserID => 123, # optional, to override the UserID from the logged user
}
);
Ticket contains the result of TicketGet including DynamicFields
Config is the Config Hash stored in a Process::SequenceFlowAction's Config key
Returns:
$TicketCustomerSetResult = 1; # 0
);