Hi Aaron,

aaron schrieb:
Is there any danger in using the following method to wipe out new
(untouched) tickets?

DELETE FROM ticket WHERE queue_id = 123 AND ticket_state_id = 456;

I think you get rid of the tickets you aim to with this method, but other informations of the tickets (e.g. attachments) won't be deleted with this method.

You should use the Generic Agent instead, that's safer and cleaner.
Use the WebGUI of the agent or see ~/Kernel/Config/GenericAgent.pm.examples (here 'delete').

aaron

Bye, Alex
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to