NAME
Kernel::System::ProcessManagement::Modules::DynamicFieldSet – A module to set the dynamic field values of a ticket.
DESCRIPTION
All DynamicFieldSet functions.
PUBLIC INTERFACE
new()
Don't use the constructor directly, use the ObjectManager instead:
my $DynamicFieldSetObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::Modules::DynamicFieldSet');
Run()
Run Data
my $DynamicFieldSetResult = $DynamicFieldSetActionObject->Run(
UserID => 123,
Ticket => \%Ticket, # required
ProcessEntityID => 'P123',
ActivityEntityID => 'A123',
SequenceFlowEntityID => 'T123',
SequenceFlowActionEntityID => '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 the Config key of a Process::SequenceFlowAction
If a dynamic field is named UserID (to avoid conflicts) it must be set in the config as:
DynamicField_UserID => $Value
Any other dynamic field should be set in the config without the DynamicField_ prefix.
Returns:
$DynamicFieldSetResult = 1; # 0
);