[rt-users] How to access X-RT-Interface header from On Create scrip?

Russell Jones russell at jonesmail.me
Mon Jul 6 21:16:08 EDT 2015


I am trying to access the new X-RT-Interface header in order to 
determine within a Scrip if a ticket was created via Email or Web. 
However whenever I try to create a new ticket and use an On Create scrip 
to read this header, I get errors saying "Can't call method "GetHeader" 
on an undefined value".

Can anyone please provide an example of how to properly access this header?

Thank you!



More information about the rt-users mailing list