Hi Luca, interesting solution... there is a member in otrsitalia.net that seems to have a similar problem having the needs to use the pending date in notification event. Do you think that it could be adopted (obviously) changing the code and achive his goal ?
Thank you. MV On Fri, Feb 5, 2010 at 11:29 AM, Gatti Luca <[email protected]> wrote: > Hi all. > > > > We needed the possibility to use the last ArticleID number in ticket in > notification email. So we added the following lines in NotificationEvent.pm > after “# prepare customer realname” section. > > > > > > * my @AllArticleIDs = $Self->{TicketObject}->ArticleIndex(* > > * TicketID => $Param{TicketID},* > > * );* > > * my $LastArticleID = $AllArticleIDs[$#AllArticleIDs];* > > * * > > * $Notification{Body} =~ s/<OTRS_ARTICLE_ID>/$LastArticleID/gi;* > > > > > > Now, the tag <OTRS_ARTICLE_ID> is replaced with the last ArticleID and it’s > possible send a notification email to the customer with a link to the latest > email exchanged. > > > > <OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias> > customer.pl?Action=CustomerTicketZoom&TicketID= > <OTRS_TICKET_ID>&ArticleID=<OTRS_ARTICLE_ID>#<OTRS_ARTICLE_ID> > > > > Hoping that can be useful…. > > > > Bye > > > > > > ------------------------------ > > *Luca Gatti* > ICT System Administrator > > [email protected] > tel +39 02 39245.380 > fax +39 02 39245.200 > > Via Montefeltro, 4 - 20156 Milano - Italy > *bindagroup.com > * > > ** > ------------------------------ > > This e-mail and any file transmitted with it may contain > material that is confidential and for the sole use of the intended > recipient. If you are not the intended recipient of this e-mail, please do > not read this e-mail and notify us immediately by reply e-mail and then > delete this message and any file attached from your system. Any other use is > prohibited. > > Il presente messaggio di posta elettronica e ogni eventuale documento a > quest'ultimo allegato potrebbe avere carattere riservato ed è ad esclusivo > utilizzo del destinatario indicato in indirizzo. Qualora non foste il > destinatario del presente messaggio per cortesia avvisateci immediatamente > tramite posta elettronica e cancellate il presente messaggio e ogni > documento ad esso allegato dal Vostro sistema. Ogni altro uso è proibito. > > > --------------------------------------------------------------------- > 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 > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > http://www.otrs.com/en/support/enterprise-subscription/ >
--------------------------------------------------------------------- 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 NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
