Description | manuals and libraries |
Kernel::System::ProcessManagement::TransitionAction::DynamicFieldSet - A module to set a new ticket owner
All DynamicFieldSet functions.
Don't use the constructor directly, use the ObjectManager instead:
my $DynamicFieldSetObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::TransitionAction::DynamicFieldSet');
Run Data
my $DynamicFieldSetResult = $DynamicFieldSetActionObject->Run(
UserID => 123,
Ticket => \%Ticket, # required
ProcessEntityID => 'P123',
ActivityEntityID => 'A123',
TransitionEntityID => 'T123',
TransitionActionEntityID => 'TA123',
Config => {
MasterSlave => 'Master',
Approved => '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::TransitionAction's Config key
If a Dynamic Field is named UserID (to avoid conflicts) it must be set in the config as:
DynamicField_UserID => $Value,
Returns:
$DynamicFieldSetResult = 1; # 0
);
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.