
########
LessThan
########


****
NAME
****


Kernel::System::ProcessManagement::TransitionValidation::LessThan - LessThan for Transition Validation Module


***********
DESCRIPTION
***********


All LessThan functions.


****************
PUBLIC INTERFACE
****************


new()
=====


Don't use the constructor directly, use the ObjectManager instead:


.. code-block:: perl

     my $TransitionValidationObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::TransitionValidation::LessThan');



Validate()
==========


Validate Data


.. code-block:: perl

     my $Match = $ValidateModuleObject->Validate(
         Data => {
             # TicketData
             TicketID          => 1,
             DynamicField_Make => [
                'Test1',
                'Test2',
                'Test3'
             ]
             # [...]
         },
         FieldName    => 'DynamicField_Make',
         'Transition' => {
             'Name'      => 'Transition 2',
             'Condition' => {
                 'Type'             => 'and',
                 'ConditionLinking' => 'and',
                 'Condition 1'      => {
                     'Fields' => {
                         'DynamicField_Make' => $VAR1->{'Condition'}
                     }
                 }
             }
         },
         TransitionName     => 'Transition 2',
         TransitionEntityID => 'T1903007681700000',
 
         Condition          => {
             Match => 'Test4',
             Type  => 'LessThan'
         },
         ConditionName    => 'Condition 1',
         ConditionType    => 'and',
         ConditionLinking => 'and'
     );


Returns:


.. code-block:: perl

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




