Re: create transaction record

Bryon Baker <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <DM2PR0501MB11495F11315938BF63A9C4ADCDDD0@DM2PR0501MB1149.namprd05.prod.outlook.com>
Thanks Bill 

I should have thought of that, I will pursue one of those options.

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: rt-users [mailto:[email protected]] On Behalf Of Bill Cole
Sent: Tuesday, October 11, 2016 11:16 PM
To: rt-users <[email protected]>
Subject: Re: [rt-users] create transaction record

On 10 Oct 2016, at 17:16, Bryon Baker wrote:

> Hello List
>
> I have created a custom scrip the will respond to an email via a web 
> service call.  I would like to create a transaction with the return 
> message.
>
> Can someone give me a little code snippet or some direction on how to 
> create the transaction?  With our creating or updating a custom field.
>
> I have read about the _RecoredTransaction but I think this may be the 
> wrong route and I have not found any example code to help me out.

Have you read
https://docs.bestpractical.com/rt/4.4.1/RT/Transaction.html#Create ?

Probably more useful: 
https://docs.bestpractical.com/rt/4.4.1/RT/Ticket.html#Comment

The simplest way to call it, given a RT::Ticket object named ticket:

$ticket->Comment( Content => "I'm A Little Teapot" );

And now you have a new comment transaction.
---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017
---------
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.