NAME
Kernel::System::ProcessManagement::Modules::TicketLockSet – A module to set the lock status of a ticket.
DESCRIPTION
All TicketLockSet functions.
PUBLIC INTERFACE
new()
Don't use the constructor directly, use the ObjectManager instead:
my $TicketLockSetObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::Modules::TicketLockSet');
Run()
Run Data
my $TicketLockSetResult = $TicketLockSetActionObject->Run(
UserID => 123,
Ticket => \%Ticket, # required
ProcessEntityID => 'P123',
ActivityEntityID => 'A123',
SequenceFlowEntityID => 'T123',
SequenceFlowActionEntityID => 'TA123',
Config => {
Lock => 'lock',
# or
LockID => 1,
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:
$TicketLockSetResult = 1; # 0