<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I really appreciate your efforts on this and when I did this, which seemed to look really good, I got the following error in the logs<div class=""><br class=""></div><div class="">BTW, I tried it with comp and scomp</div><div class=""><br class=""></div><div class=""><pre class="">[3056] [Wed Jun 22 11:01:32 2016] [error]: Template parsing error: Can't call method "comp" on an undefined value at template line 13, <gen1702 class=""> line 2271.

Stack:
  [template:13]
  [/local/rt-4.2.11/sbin/../lib/RT/Template.pm:553]
  [/local/rt-4.2.11/sbin/../lib/RT/Template.pm:503]
  [/local/rt-4.2.11/sbin/../lib/RT/Template.pm:434]
  [/local/rt-4.2.11/sbin/../lib/RT/Template.pm:414]
  [/local/rt-4.2.11/sbin/../lib/RT/Action/SendEmail.pm:139]
  [/local/rt-4.2.11/sbin/../lib/RT/Action/Notify.pm:69]
  [/local/rt-4.2.11/sbin/../lib/RT/ScripAction.pm:223]
  [/local/rt-4.2.11/sbin/../lib/RT/Scrip.pm:637]
  [/local/rt-4.2.11/sbin/../lib/RT/Scrips.pm:342]
  [/local/rt-4.2.11/sbin/../local/lib/RT/Transaction.pm:189]
  [/local/rt-4.2.11/sbin/../lib/RT/Record.pm:1696]
  [/local/rt-4.2.11/sbin/../lib/RT/Ticket.pm:2709]
  [/local/rt-4.2.11/sbin/../lib/RT/Ticket.pm:2411]
  [/local/rt-4.2.11/sbin/../lib/RT/Ticket.pm:2361]
  [/local/rt-4.2.11/sbin/../lib/RT/Record.pm:1011]
  [/local/rt-4.2.11/sbin/../lib/RT/Record.pm:990]
  [/local/rt-4.2.11/sbin/../lib/RT/Interface/Web.pm:2774]
  [/local/rt-4.2.11/sbin/../lib/RT/Interface/Web.pm:2886]
  [/local/rt-4.2.11/share/html/Ticket/Modify.html:97]
  [/local/rt-4.2.11/share/html/Ticket/autohandler:66]
  [/local/rt-4.2.11/sbin/../lib/RT/Interface/Web.pm:681]
  [/local/rt-4.2.11/sbin/../lib/RT/Interface/Web.pm:369]
  [/local/rt-4.2.11/share/html/autohandler:53] (/local/rt-4.2.11/sbin/../lib/RT/Template.pm:548)
[3056] [Wed Jun 22 11:01:32 2016] [info]: <rt-4.2.11-3056-1466593292-363.706954-943-0@rt.umbc.edu class=""> #706954/12400455 - Scrip 943 UMBC-10 On Correspond for Other Recipients - Transbatch (/local/rt-4.2.11/sbin/../lib/RT/Action/SendEmail.pm:284)
[3056] [Wed Jun 22 11:01:32 2016] [info]: <rt-4.2.11-3056-1466593292-363.706954-943-0@rt.umbc.edu class=""> No recipients found. Not sending. (/local/rt-4.2.11/sbin/../lib/RT/Interface/Email.pm:380)
[3056] [Wed Jun 22 11:02:22 2016] [error]: Template parsing error: Can't call method "scomp" on an undefined value at template line 13, <gen1706 class=""> line 2271.

Stack:
  [template:13]
  [/local/rt-4.2.11/sbin/../lib/RT/Template.pm:553]
  [/local/rt-4.2.11/sbin/../lib/RT/Template.pm:503]
  [/local/rt-4.2.11/sbin/../lib/RT/Template.pm:434]
  [/local/rt-4.2.11/sbin/../lib/RT/Template.pm:414]
  [/local/rt-4.2.11/sbin/../lib/RT/Action/SendEmail.pm:139]
  [/local/rt-4.2.11/sbin/../lib/RT/Action/Notify.pm:69]
  [/local/rt-4.2.11/sbin/../lib/RT/ScripAction.pm:223]
  [/local/rt-4.2.11/sbin/../lib/RT/Scrip.pm:637]
  [/local/rt-4.2.11/sbin/../lib/RT/Scrips.pm:342]
  [/local/rt-4.2.11/sbin/../local/lib/RT/Transaction.pm:189]
  [/local/rt-4.2.11/sbin/../lib/RT/Record.pm:1696]
  [/local/rt-4.2.11/sbin/../lib/RT/Ticket.pm:2709]
  [/local/rt-4.2.11/sbin/../lib/RT/Ticket.pm:2411]
  [/local/rt-4.2.11/sbin/../lib/RT/Ticket.pm:2361]
  [/local/rt-4.2.11/sbin/../lib/RT/Record.pm:1011]
  [/local/rt-4.2.11/sbin/../lib/RT/Record.pm:990]
  [/local/rt-4.2.11/sbin/../lib/RT/Interface/Web.pm:2774]
  [/local/rt-4.2.11/sbin/../lib/RT/Interface/Web.pm:2886]
  [/local/rt-4.2.11/share/html/Ticket/Modify.html:97]
  [/local/rt-4.2.11/share/html/Ticket/autohandler:66]
  [/local/rt-4.2.11/sbin/../lib/RT/Interface/Web.pm:681]
  [/local/rt-4.2.11/sbin/../lib/RT/Interface/Web.pm:369]
  [/local/rt-4.2.11/share/html/autohandler:53] (/local/rt-4.2.11/sbin/../lib/RT/Template.pm:548)</gen1706></rt-4.2.11-3056-1466593292-363.706954-943-0@rt.umbc.edu></rt-4.2.11-3056-1466593292-363.706954-943-0@rt.umbc.edu></gen1702></pre><div class=""><br class=""></div></div><div class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><div class="">Joe Kirby ,  Assistant Vice President, Business Systems</div><div class="">Division of Information Technology (DoIT) </div><div class="">Support Response -   <a href="http://www.umbc.edu/doit" class="">http://www.umbc.edu/doit</a> </div><div class="">Administration 627</div><div class="">Office - 410-455-3020 </div><div class="">Email - <a href="mailto:kirby@umbc.edu" class="">kirby@umbc.edu</a></div></div></div></span></span>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jun 22, 2016, at 7:00 AM, Christian Loos <<a href="mailto:cloos@netcologne.de" class="">cloos@netcologne.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">OK, I now see the problem.<br class=""><br class="">Try this:<br class=""><br class=""><a href="https://umbc.co1.qualtrics.com/SE/?" class="">https://umbc.co1.qualtrics.com/SE/?</a>{$m->comp('/Elements/QueryString',<br class="">    SID           => 'SV_4IbNK0n1unOaIEB',<br class="">    groupid       => 'BSG',<br class="">    ticketid      => $Ticket->Id,<br class="">    ticketowner   => $Ticket->OwnerObj->EmailAddress,<br class="">    customeremail => $Ticket->RequestorAddresses,<br class="">    ticketsubject => $Ticket->Subject,<br class="">);<br class="">}<br class=""><br class=""><br class=""><br class="">Am 22.06.2016 um 12:56 schrieb Joe Kirby:<br class=""><blockquote type="cite" class="">Thank you for such a quick response<br class=""><br class="">I did what you said and it suppresses the value in the email but I am<br class="">still not getting the value for query_string places within the url for<br class="">some reason. I did remove the quotes as that was a last ditch effort the<br class="">last time I tried<br class=""><br class="">Here is the result with the s in from of comp<br class=""><br class="">If you agree your issue is resolved, please give us feedback on your<br class="">experience by completing a brief satisfaction survey: <br class=""><br class=""><br class=""><a href="https://umbc.co1.qualtrics.com/SE/?" class="">https://umbc.co1.qualtrics.com/SE/?</a><br class=""><br class=""><br class="">Joe Kirby ,  Assistant Vice President, Business Systems<br class="">Division of Information Technology (DoIT) <br class="">Support Response -   http://www.umbc.edu/doit <br class="">Administration 627<br class="">Office - 410-455-3020 <br class="">Email - kirby@umbc.edu <mailto:kirby@umbc.edu><br class=""><br class=""><blockquote type="cite" class="">On Jun 22, 2016, at 6:52 AM, Christian Loos <cloos@netcologne.de<br class=""><mailto:cloos@netcologne.de>> wrote:<br class=""><br class="">OK, my fault ;-)<br class=""><br class="">Change<br class=""><br class="">my $query_string =<br class="">$HTML::Mason::Commands::m->comp('/Elements/QueryString',<br class=""><br class="">to this (note the 's')<br class=""><br class="">my $query_string =<br class="">$HTML::Mason::Commands::m->scomp('/Elements/QueryString',<br class=""><br class="">and this<br class=""><br class="">https://umbc.co1.qualtrics.com/SE/?{'$query_string'}<br class=""><br class="">should be this (no quotes)<br class=""><br class="">https://umbc.co1.qualtrics.com/SE/?{$query_string}<br class=""><br class="">Chris<br class=""><br class="">Am 22.06.2016 um 12:40 schrieb Joe Kirby:<br class=""><blockquote type="cite" class="">Thank you both.<br class=""><br class="">It does do a great job of translating however it does not seem the field<br class="">is actually available for the command line<br class=""><br class="">Here is the full template and then the email result. Am I missing a<br class="">comma or something?<br class=""><br class="">TEMPLATE--------<br class="">RT-Attach-Message: Yes<br class="">Subject:  {$Ticket->Subject} [RESOLVED]<br class=""><br class="">R e s o l u t i o n:<br class="">= = = = = = = = = = = = = = = = = = =  <br class=""><br class="">{$Transaction->Content()}<br class="">_________________________________________<br class=""><br class="">If you agree your issue is resolved, please give us feedback on your<br class="">experience by completing a brief satisfaction survey:<br class=""><br class="">{<br class="">my $query_string =<br class="">$HTML::Mason::Commands::m->comp('/Elements/QueryString',<br class="">  SID           => 'SV_4IbNK0n1unOaIEB',<br class="">  groupid       => 'BSG',<br class="">  ticketid      => $Ticket->Id,<br class="">  ticketowner   => $Ticket->OwnerObj->EmailAddress,<br class="">  customeremail => $Ticket->RequestorAddresses,<br class="">  ticketsubject => $Ticket->Subject,<br class="">);<br class="">}<br class="">https://umbc.co1.qualtrics.com/SE/?{'$query_string'}<br class=""><br class=""><br class="">If you believe your issue has not been resolved, please respond to this<br class="">message, which will reopen your ticket. Note: A full record of your<br class="">request can be found at:  <br class=""><br class="">Ticket <URL:<br class="">{RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} ><br class=""><br class="">Thank You<br class="">——————————<br class=""><br class="">Email result from TEMPLATE<br class=""><br class="">R e s o l u t i o n:<br class="">= = = = = = = = = = = = = = = = = = =  <br class=""><br class="">This transaction appears to have no content<br class="">_________________________________________<br class=""><br class="">If you agree your issue is resolved, please give us feedback on your<br class="">experience by completing a brief satisfaction survey:<br class=""><br class="">SID=SV_4IbNK0n1unOaIEB&customeremail=jkirby%40umbc.edu<br class=""><http://40umbc.edu>&groupid=BSG&ticketid=706954&ticketsubject=Test%20Case%23%201234<br class="">https://umbc.co1.qualtrics.com/SE/?$query_string<br class=""><br class=""><br class="">If you believe your issue has not been resolved, please respond to this<br class="">message, which will reopen your ticket. Note: A full record of your<br class="">request can be found at:  <br class=""><br class="">Ticket <URL: https://rt.umbc.edu/Ticket/Display.html?id=706954 ><br class=""><br class="">Thank You<br class=""><br class="">Joe Kirby ,  Assistant Vice President, Business Systems<br class="">Division of Information Technology (DoIT)<br class="">Support Response -   http://www.umbc.edu/doit<br class="">Administration 627<br class="">Office - 410-455-3020<br class="">Email - kirby@umbc.edu <mailto:kirby@umbc.edu><br class=""><br class=""><blockquote type="cite" class="">On Jun 22, 2016, at 5:12 AM, Christian Loos <cloos@netcologne.de<br class=""><mailto:cloos@netcologne.de>> wrote:<br class=""><br class="">Am 22.06.2016 um 10:59 schrieb Emmanuel Lacour:<br class=""><blockquote type="cite" class="">Nice idea, but is $m available in RT templates (never tried) ?<br class=""></blockquote><br class="">You are right, you must replace line<br class=""><br class="">my $query_string = $m->comp('/Elements/QueryString',<br class=""><br class="">with<br class=""><br class="">my $query_string =<br class="">$HTML::Mason::Commands::m->comp('/Elements/QueryString',<br class=""><br class="">Chris<br class=""></blockquote><br class=""></blockquote><br class="">-- <br class="">Christian Loos<br class=""><br class="">NETCOLOGNE Gesellschaft für Telekommunikation mbH<br class="">Am Coloneum 9 | 50829 Köln<br class=""><br class="">Geschäftsführer: Jost Hermanns, Mario Wilhelm<br class="">Vorsitzender des Aufsichtsrates: Dr. Andreas Cerbe<br class="">HRB 25580, AG Köln<br class=""></blockquote><br class=""></blockquote><br class="">-- <br class="">Christian Loos<br class=""><br class="">NETCOLOGNE Gesellschaft für Telekommunikation mbH<br class="">Am Coloneum 9 | 50829 Köln<br class=""><br class="">Geschäftsführer: Jost Hermanns, Mario Wilhelm<br class="">Vorsitzender des Aufsichtsrates: Dr. Andreas Cerbe<br class="">HRB 25580, AG Köln<br class=""></div></div></blockquote></div><br class=""></div></body></html>