
#####################
DynamicFieldIncrement
#####################


****
NAME
****


Kernel::System::ProcessManagement::TransitionAction::DynamicFieldIncrement - A module to increment value of dynamic field - counter


********
SYNOPSIS
********


All DynamicFieldIncrement functions.


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


new()
=====


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


.. code-block:: perl

     my $DynamicFieldIncrementObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::TransitionAction::DynamicFieldIncrement');



Run()
=====


Runs TransitionAction DynamicFieldIncrement.


.. code-block:: perl

     my $Success = $DynamicFieldIncrementActionObject->Run(
         UserID                   => 123,
 
         # Ticket contains the result of TicketGet including dynamic fields
         Ticket                   => \%Ticket,       # required
         ProcessEntityID          => 'P123',
         ActivityEntityID         => 'A123',
         TransitionEntityID       => 'T123',
         TransitionActionEntityID => 'TA123',
 
         # Config is the hash stored in a Process::TransitionAction's config key
         Config                   => {
             Value         => 5,                     # optional, defines the value to increment or decrement (default: 1)
             DynamicField1 => 1,
             DynamicField2 => 1,
             DynamicField3 => 1,
             UserID        => 123,                   # optional, to override the UserID from the logged user
         }
     );


Returns:


.. code-block:: perl

     Config is the Config Hash stored in a Process::TransitionAction's Config key
 
     $Success = 1; # 0




