Custom Module SetDFByStateAndProcess
This module saves in a dynamic field date/time the time that the ticket has passed to a specific state
Run
To create the generic attendant add the event as 'TicketStateUpdate':
Custom module:
Module => Kernel::System::GenericAgent::SetDFByStateAndProcess::SetDFByStateAndProcess
DynamicField => Name of the dynamic text field that will receive the value. Must be a field of the object Tciket type date/time
StateOld => State the call was in