Kernel::GenericInterface::Event::Validation::ValidateDemo

NAME

Kernel::GenericInterface::Event::Validation::ValidateDemo – Demo for condition validation module

DESCRIPTION

All ValidateDemo functions.

SYNOPSIS

Create an object. Do not use it directly, instead use:

    use Kernel::System::ObjectManager;
    local $Kernel::OM = Kernel::System::ObjectManager->new();
    my $ValidateDemoObject = $Kernel::OM->Get('Kernel::GenericInterface::Event::Validation::ValidateDemo');

Validate()

    Validate Data

    my $ValidateResult = $ValidateModuleObject->Validate(
        Data       => {
            Queue => 'Postmaster',
            # ...
        },
    );

    Returns:

    $ValidateResult = 1;        # or undef, only returns 1 if Queue is 'Postmaster'

    );
Scroll to Top