Re: create transaction record

Matt Zagrabelny <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <CAOLfK3UndrmBfviu2MB=nRZLSRm9nOL2y2_ywozgtOuf4LtH3w@mail.gmail.com>
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.