Re: create transaction record

Bryon Baker <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <DM2PR0501MB11493F8BCF79BE5F1ED3AF73CDDA0@DM2PR0501MB1149.namprd05.prod.outlook.com>
Yes I thought of the custom field and that would be easy, but I have so many now. I just didn't want to add another.  But if I can't find anything else that is what I will do eventually.

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726 Ext. 2296 • 262-783-6261 Ext. 2296
[email protected]
www.copesan.com
"Servicing North America with Local Care"

-----Original Message-----
From: Matt Zagrabelny [mailto:[email protected]] 
Sent: Tuesday, October 11, 2016 3:09 PM
To: Bryon Baker <[email protected]>
Cc: rt-users <[email protected]>
Subject: Re: [rt-users] create transaction record

On Tue, Oct 11, 2016 at 2:25 PM, Bryon Baker <[email protected]> wrote:
> Yes that is what I am doing I hoping for some kind of call like "$RT::Logger->debug" for logging. But I have not found anything.  The web service call is actually being executed from inside custom home built actions.

That would work. Or:

RT->Logger->debug('a line of debug');

Regarding creating a txn for the ticket history: I may have at one time created a txn and added it to the history, but I'm not seeing any code examples in my extensions. I don't quite remember how and don't have time to dig into the RT upstream code.

You could create a custom field called Web Services and set that CF to whatever value your web services returns. That is pretty easy.

-m
---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.