Hi Martin,

> For "pending reminder" exists already a $Lang::Agent::PendingReminder
> which should do what you mean.

yep, but have a look at my Config.pm sniplet:

    $Self->{'Ticket::ViewableStateType'} =  [
        'new',
        'open',
    ];
    $Self->{'Ticket::PendingAutoStateType'} =  [
        'pending auto',
        'pending reminder',
    ];
    $Self->{'Ticket::StateAfterPending'} =  {
        'pending auto close-' => 'closed unsuccessful',
        'pending auto close+' => 'closed successful',
        'pending reminder' => 'open',
    };

A normal PendingJobs.pl sets all tickets in state type "pending reminder" to
"open" first. Afterwards, it sends a reminder email for all tickets which
are still in state type "pending reminder". But it doesn't send mails for
tickets which have just been switched from state "pending reminder" to
"open". So, $Lang::Agent::PendingReminder isn't used at all here.
Maybe I should write a TicketEventModule, or create a second PendingJobs.pl
for that case only? Or did I missed something?

Felix


_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to