Kernel::System::DataValidation::Validator::Ticket::PrimarySecondaryType

NAME

Kernel::System::DataValidation::Validator::Ticket::PrimarySecondaryType – Validator that verifies a given PrimarySecondaryType.

PUBLIC INTERFACE

Provides a Check method, that will be called by the Kernel::System::DataValidation backend.

Example()

Returns an example of a possible value to be verified.

Check()

Checks if the ticket has the given PrimarySecondaryType.

    my $Result = $Validator->Check(
        Arguments => 'Primary' # possible values: 'Primary', 'Secondary|SecondaryOf:{TicketNumber}', 'Empty'
        Value     => '...', # Ticket ID
    );
Scroll to Top