Sorry if this has been covered, I can’t find anywhere to search the list.
I’m trying to utilise a callback offered on the best-practical wiki:
The first problem is that it refers to a callback in Ticket/Display.html
named BeforeShowHistory. I can only find one called BeforeDisplay, but I’m
guessing it doesn’t matter, so I’m using that one.
RT is referencing my callback ok, but I get this error:
error: Can’t call method “Id” on an undefined value at
ml/BeforeDisplay line 4.
<& /Elements/SelectQueue, Name => ‘Queue’, %ARGS, ShowNullOption => 0,
ShowAllQueues => 0 &>
I can’t figure out how arguments are passed to callbacks from the docs
available, or how else I might make the ticket id visible to the callback.
I tried the SpawnChildTicket one (which would also work for me) but
experienced a very similar problem:
The Tea Building
56 Shoreditch High Street
+44 (0)20 7729 0700
+44 (0)20 7729 1619
+44 (0)7971 012 622
This e-mail and any files transmitted with it are confidential and intended
only for the addressee and should not be disclosed, distributed, copied or
printed without the prior written agreement of TXT4 Ltd. If you are not the
intended recipient, or a person responsible for delivering it to the
intended recipient, you should not use, disclose, distribute, copy or print.
Please notify the sender by e-mail if you have received this e-mail by
mistake and delete this e-mail from your system immediately. Any views or
opinions expressed in this message are those of the author and do not
necessarily represent those of TXT4 Ltd.