in module registration, I already tell the system when to trigger the module:
Code: Select all
$Self->{'Ticket::EventModulePost'}->{'137-FixInbox'} = {
'Event' => '(TicketTypeUpdate)',
'Module' => 'Kernel::System::Ticket::Event::FixInbox'
};
Code: Select all
if ( $Param{Event} eq 'TicketTypeUpdate' ) ..