Kernel::System::DynamicField::Driver::Role::Behavior::SupportsNotificationEvents

NAME

Kernel::System::DynamicField::Driver::Role::Behavior::SupportsNotificationEvents – Role for dynamic field drivers, indicate that the driver supports notifications.

PUBLIC INTERFACE

MethodParamValidationSchema()

Around's the original 'MethodParamValidationSchema' of the driver to just add the schema of the parameter 'ObjectAttributes'.

ObjectMatch()

Checks if the provided value is or exists in the object (Ticket, FAQ, etc.) current's dynamic field value.

    my $Match = $DynamicField->ObjectMatch(
        ObjectAttribute => {
            DynamicField_Test  => '...',
            DynamicField_Test2 => [...],
        },
        Value => '...',
    );

Returns

    1 - value matches
    0 - value doesn't match
Scroll to Top