Ticket editing for approval process

Hi list, I have been working on an addition to OTRS. The addition was to have an approval list so managers can read over emails before they are sent to clients. This addition included the ability to save drafts of emails. I am working on the saving as draft part and I believe it is almost working but there are issues getting the article id from in the file AgentTicketEdit.pm and using it in the method Article->ArticleSave(). I know the ArticleID exists somewhere, because I can display it in the AgentTicketEdit.dtl file using $Data{"ArticleID"} on line 107. I am unsure how to access it in the AgentTicketEdit.pm file on line 674, I have tried many methods including $Param{AriticleID}, Self->{ArticleID} $Data{"ArticleID"} but nothing seems to be correct. Does anyone know how to get the ArticleID in the AgentTicketEdit.pm file that the AgentTicketEdit.dtl file is accessing? Any help is greatly appreciated. My source code files bounced my orginal email so if you want to look at my code just email me back. Thank you! Dan King Software Developer Canadian Resident Matching Service 613.237.0075 ext. 241 (Toll free) 877.CARMS.42 171 Nepean Street, Suite 300 Ottawa, ON, CAN K2P 0B4 www.carms.ca http://www.carms.ca ------------------------------------------------------------------------------------ This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and or privileged information. If you are not the intended recipient or this information has been forwarded in error, please contact the sender by reply e-mail and destroy copies of the original message. Ce message (incluant toute pièce jointe) s'adresse uniquement au(x) destinataire(s) prévu(s) ou à une personne autorisée à le recevoir en son (leur) nom. Il pourrait contenir des renseignements confidentiels ou protégés. Si vous l'avez reçu par erreur, nous vous prions d'en informer l'auteur dans les meilleurs délais, de ne pas divulguer son contenu et de le supprimer de votre système. Merci.
participants (1)
-
Dan King