Kernel::System::ITSMConfigItem::Event::DoHistory

NAME

Kernel::System::ITSMConfigItem::Event::DoHistory – Event handler that does the history

PUBLIC INTERFACE

new()

create an object

    use Kernel::System::ObjectManager;
    local $Kernel::OM = Kernel::System::ObjectManager->new();
    my $DoHistoryObject = $Kernel::OM->Get('Kernel::System::ITSMConfigItem::Event::DoHistory');

Run()

This method handles the event.

    $DoHistoryObject->Run(
        Event => 'ConfigItemCreate',
        Data  => {
            Comment      => 'new value: 1',
            ConfigItemID => 123,
        },
        UserID => 1,
    );

INTERNAL INTERFACE

_ConfigItemDelete()

history's event handler for ConfigItemDelete

_HistoryAdd()

history's default event handler.

Scroll to Top